about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorSomeone <sergei.kozlukov@aalto.fi>2024-03-19 20:06:18 +0000
committerGitHub <noreply@github.com>2024-03-19 20:06:18 +0000
commite7797267a20c6dc316044949ce5eb8d3bb1de309 (patch)
treefdd38e2b57c27052a3ddfc1aad775f723968b0fa /pkgs/tools
parentfd6871114e5d296456c8483c279dfd4a3f34e25f (diff)
parent4006c2490f9ef1ddcb6fa685f022cd0775fa90a3 (diff)
Merge pull request #281576 from yannham/refactor/cuda-setup-hooks-refactor
cudaPackages: generalize and refactor setup hooks
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/audio/openai-whisper-cpp/default.nix4
-rw-r--r--pkgs/tools/system/btop/default.nix2
2 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/tools/audio/openai-whisper-cpp/default.nix b/pkgs/tools/audio/openai-whisper-cpp/default.nix
index 191aae946e214..20d2a23d1dd58 100644
--- a/pkgs/tools/audio/openai-whisper-cpp/default.nix
+++ b/pkgs/tools/audio/openai-whisper-cpp/default.nix
@@ -45,9 +45,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
     ] ++ lib.optionals cudaSupport ( with cudaPackages ;[
       cuda_nvcc
 
-      # TODO: Replace with autoAddDriverRunpath
-      # once https://github.com/NixOS/nixpkgs/pull/275241 has been merged
-      autoAddOpenGLRunpathHook
+      autoAddDriverRunpath
     ]);
 
   buildInputs = [
diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix
index 9b6956fb57804..5961a0fed754a 100644
--- a/pkgs/tools/system/btop/default.nix
+++ b/pkgs/tools/system/btop/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
   };
 
   nativeBuildInputs = [ cmake ] ++ lib.optionals cudaSupport [
-    cudaPackages.autoAddOpenGLRunpathHook
+    cudaPackages.autoAddDriverRunpath
   ];
 
   buildInputs = lib.optionals stdenv.isDarwin [