@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub, cmake, pkgconfig, pandoc
2−, ethtool, nettools, libnl, udev, python, perl
2+, ethtool, iproute, libnl, udev, python, perl
33} :
44
55let
@@ -16,7 +16,7 @@ in stdenv.mkDerivation {
1616 };
1717
1818 nativeBuildInputs = [ cmake pkgconfig pandoc ];
19− buildInputs = [ libnl ethtool nettools udev python perl ];
19+ buildInputs = [ libnl ethtool iproute udev python perl ];
2020
2121 cmakeFlags = [
2222 "-DCMAKE_INSTALL_RUNDIR=/run"
@@ -26,7 +26,8 @@ in stdenv.mkDerivation {
2626 postPatch = ''
2727 substituteInPlace providers/rxe/rxe_cfg.in \
2828 --replace ethtool "${ethtool}/bin/ethtool" \
29− --replace ifconfig "${nettools}/bin/ifconfig"
29+ --replace 'ip addr' "${iproute}/bin/ip addr" \
30+ --replace 'ip link' "${iproute}/bin/ip link"
3031 '';
3132
3233 meta = with stdenv.lib; {