diff --git a/pkgs/os-specific/linux/rdma-core/default.nix b/pkgs/os-specific/linux/rdma-core/default.nix index ecfd8581ca9d..8f2c834672f5 100644 --- a/pkgs/os-specific/linux/rdma-core/default.nix +++ b/pkgs/os-specific/linux/rdma-core/default.nix @@ -1,9 +1,9 @@ { stdenv, fetchFromGitHub, cmake, pkgconfig, pandoc -, ethtool, nettools, libnl, udev, python, perl +, ethtool, iproute, libnl, udev, python, perl } : let - version = "20.1"; + version = "21"; in stdenv.mkDerivation { name = "rdma-core-${version}"; @@ -12,11 +12,11 @@ in stdenv.mkDerivation { owner = "linux-rdma"; repo = "rdma-core"; rev = "v${version}"; - sha256 = "1j6d3n4wzl04m0k4nxbmahfwc094185d5jyijgvg3z5hwwb8lkwv"; + sha256 = "0q4hdm14f1xz2h0m5d821fdyp7i917rvmkas5axmfr1myv5422fl"; }; nativeBuildInputs = [ cmake pkgconfig pandoc ]; - buildInputs = [ libnl ethtool nettools udev python perl ]; + buildInputs = [ libnl ethtool iproute udev python perl ]; cmakeFlags = [ "-DCMAKE_INSTALL_RUNDIR=/run" @@ -26,7 +26,8 @@ in stdenv.mkDerivation { postPatch = '' substituteInPlace providers/rxe/rxe_cfg.in \ --replace ethtool "${ethtool}/bin/ethtool" \ - --replace ifconfig "${nettools}/bin/ifconfig" + --replace 'ip addr' "${iproute}/bin/ip addr" \ + --replace 'ip link' "${iproute}/bin/ip link" ''; meta = with stdenv.lib; {