Skip to content

Commit c849768

Browse files
jonringerwegank
authored andcommitted
xgboost: use pkgs.autoAddDriverRunpath
1 parent 10d3c44 commit c849768

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/development/libraries/xgboost/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
, cmake
66
, gtest
77
, doCheck ? true
8+
, autoAddDriverRunpath
89
, cudaSupport ? config.cudaSupport
910
, ncclSupport ? false
1011
, rLibrary ? false
@@ -57,7 +58,7 @@ stdenv.mkDerivation rec {
5758

5859
nativeBuildInputs = [ cmake ]
5960
++ lib.optionals stdenv.isDarwin [ llvmPackages.openmp ]
60-
++ lib.optionals cudaSupport [ cudaPackages.autoAddDriverRunpath ]
61+
++ lib.optionals cudaSupport [ autoAddDriverRunpath ]
6162
++ lib.optionals rLibrary [ R ];
6263

6364
buildInputs = [ gtest ] ++ lib.optional cudaSupport cudaPackages.cudatoolkit

0 commit comments

Comments
 (0)