Skip to content

Commit 13b0f46

Browse files
committed
dcgm: use pkgs.autoAddDriverRunpath
1 parent bfe244b commit 13b0f46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/os-specific/linux/dcgm/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{ lib
22
, gcc11Stdenv
33
, fetchFromGitHub
4+
, autoAddDriverRunpath
45
, catch2
56
, cmake
67
, cudaPackages_10_2
@@ -108,7 +109,7 @@ in gcc11Stdenv.mkDerivation rec {
108109
# autoAddDriverRunpath does not actually depend on or incur any dependency
109110
# of cudaPackages. It merely adds an impure, non-Nix PATH to the RPATHs of
110111
# executables that need to use cuda at runtime.
111-
cudaPackages_12.autoAddDriverRunpath
112+
autoAddDriverRunpath
112113

113114
cmake
114115
git

0 commit comments

Comments
 (0)