From fd0d5d976c7cd2e56c8a842e33696432b5c232fe Mon Sep 17 00:00:00 2001 From: Evils Date: Mon, 26 Sep 2022 09:02:03 +0200 Subject: [PATCH] rocm-smi: fix runtime --- pkgs/tools/system/rocm-smi/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/tools/system/rocm-smi/default.nix b/pkgs/tools/system/rocm-smi/default.nix index fbdd275fce79..8f7859be7dcb 100644 --- a/pkgs/tools/system/rocm-smi/default.nix +++ b/pkgs/tools/system/rocm-smi/default.nix @@ -32,14 +32,10 @@ stdenv.mkDerivation rec { substituteInPlace oam/CMakeLists.txt \ --replace "DESTINATION oam/" "DESTINATION " \ --replace 'DESTINATION ''${OAM_NAME}/' "DESTINATION " - - # Update relative path to librocm_smi64 in the Python binding. - substituteInPlace python_smi_tools/rsmiBindings.py \ - --replace "/../lib/librocm_smi64.so" "/../../librocm_smi64.so" ''; postInstall = '' - wrapPythonProgramsIn $out/bin + wrapPythonProgramsIn $out ''; passthru.updateScript = writeScript "update.sh" ''