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
@@ -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
}: