about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2024-03-30 11:17:07 -0700
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2024-04-03 10:12:28 +0200
commitc8497682546f35861bbfc89453b59c247b5ddaf3 (patch)
tree998f63541fa4066aa36e91084a23f4d3a0c48087 /pkgs
parent10d3c44cc20d3b7deeda6ce41381d518550b12c6 (diff)
xgboost: use pkgs.autoAddDriverRunpath
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/xgboost/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/xgboost/default.nix b/pkgs/development/libraries/xgboost/default.nix
index 67190d7cac76a..154dd70a7f4cd 100644
--- a/pkgs/development/libraries/xgboost/default.nix
+++ b/pkgs/development/libraries/xgboost/default.nix
@@ -5,6 +5,7 @@
 , cmake
 , gtest
 , doCheck ? true
+, autoAddDriverRunpath
 , cudaSupport ? config.cudaSupport
 , ncclSupport ? false
 , rLibrary ? false
@@ -57,7 +58,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ]
     ++ lib.optionals stdenv.isDarwin [ llvmPackages.openmp ]
-    ++ lib.optionals cudaSupport [ cudaPackages.autoAddDriverRunpath ]
+    ++ lib.optionals cudaSupport [ autoAddDriverRunpath ]
     ++ lib.optionals rLibrary [ R ];
 
   buildInputs = [ gtest ] ++ lib.optional cudaSupport cudaPackages.cudatoolkit