From 4c2bb2fa60bfd517d45fc6d843159a34c959a507 Mon Sep 17 00:00:00 2001 From: Markus Theil Date: Mon, 10 Jun 2024 11:30:17 +0200 Subject: [PATCH] rshim-user-space: 2.0.20 -> 2.0.32 Notable changes: - increased robustness on reboots - better support for Bluefield 3 Signed-off-by: Markus Theil --- pkgs/tools/misc/rshim-user-space/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/rshim-user-space/default.nix b/pkgs/tools/misc/rshim-user-space/default.nix index 329c572967a9..80d9b6adf516 100644 --- a/pkgs/tools/misc/rshim-user-space/default.nix +++ b/pkgs/tools/misc/rshim-user-space/default.nix @@ -15,13 +15,13 @@ stdenv.mkDerivation rec { pname = "rshim-user-space"; - version = "2.0.20"; + version = "2.0.32"; src = fetchFromGitHub { owner = "Mellanox"; repo = pname; rev = "rshim-${version}"; - hash = "sha256-zm1cMTna9o8edl0M7tjUhbnElbUkQZSkh3KOI6tbE6I="; + hash = "sha256-GF7cKIf72EYRBRb6d3IWONE7YJwohTLKF1RGdDMTG6c="; }; nativeBuildInputs = [ @@ -36,6 +36,10 @@ stdenv.mkDerivation rec { fuse ]; + prePatch = '' + patchShebangs scripts/bfb-install + ''; + strictDeps = true; preConfigure = "./bootstrap.sh";