xgboost: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:32:12 +00:00
parent 73b2577438
commit fa4b98ed6e
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchgit, cmake
, cudaSupport ? false, cudatoolkit
{ config, stdenv, lib, fetchgit, cmake
, cudaSupport ? config.cudaSupport or false, cudatoolkit
, ncclSupport ? false, nccl
, llvmPackages
}:

View File

@ -12993,9 +12993,7 @@ in
xalanc = callPackage ../development/libraries/xalanc {};
xgboost = callPackage ../development/libraries/xgboost {
cudaSupport = config.cudaSupport or false;
};
xgboost = callPackage ../development/libraries/xgboost { };
xgeometry-select = callPackage ../tools/X11/xgeometry-select { };