xgboost: remove nvidia_x11 dependency

This commit is contained in:
Someone Serge 2022-05-12 12:59:53 +03:00
parent ca4c612d1b
commit 13265d3bba
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4

View file

@ -25,7 +25,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-h7zcHCOxe1h7HRB6idtjf4HUBEoHC4V2pqbN9hpe00g="; sha256 = "sha256-h7zcHCOxe1h7HRB6idtjf4HUBEoHC4V2pqbN9hpe00g=";
}; };
nativeBuildInputs = [ cmake ] ++ lib.optional stdenv.isDarwin llvmPackages.openmp; nativeBuildInputs = [
cmake
] ++ lib.optionals stdenv.isDarwin [
llvmPackages.openmp
] ++ lib.optionals cudaSupport [
cudaPackages.autoAddOpenGLRunpathHook
];
buildInputs = [ gtest ] ++ lib.optional cudaSupport cudaPackages.cudatoolkit buildInputs = [ gtest ] ++ lib.optional cudaSupport cudaPackages.cudatoolkit
++ lib.optional ncclSupport cudaPackages.nccl; ++ lib.optional ncclSupport cudaPackages.nccl;