about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/dcgm
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2024-03-30 10:17:46 -0700
committerJonathan Ringer <jonringer117@gmail.com>2024-03-30 10:17:46 -0700
commit13b0f4682558ef551d1115881f5603417fbd8dee (patch)
tree6d5aba183be5f79a421f21728d0eb666f2cc2170 /pkgs/os-specific/linux/dcgm
parentbfe244b2344a2463df4b43d0faaaa5f422a5b8de (diff)
dcgm: use pkgs.autoAddDriverRunpath
Diffstat (limited to 'pkgs/os-specific/linux/dcgm')
-rw-r--r--pkgs/os-specific/linux/dcgm/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/dcgm/default.nix b/pkgs/os-specific/linux/dcgm/default.nix
index cc9e26d2b7073..a7f3511b3f4ba 100644
--- a/pkgs/os-specific/linux/dcgm/default.nix
+++ b/pkgs/os-specific/linux/dcgm/default.nix
@@ -1,6 +1,7 @@
 { lib
 , gcc11Stdenv
 , fetchFromGitHub
+, autoAddDriverRunpath
 , catch2
 , cmake
 , cudaPackages_10_2
@@ -108,7 +109,7 @@ in gcc11Stdenv.mkDerivation rec {
     # autoAddDriverRunpath does not actually depend on or incur any dependency
     # of cudaPackages. It merely adds an impure, non-Nix PATH to the RPATHs of
     # executables that need to use cuda at runtime.
-    cudaPackages_12.autoAddDriverRunpath
+    autoAddDriverRunpath
 
     cmake
     git