···43434444 inherit doCheck;
45454646+ # By default, cmake build will run ctests with all checks enabled
4747+ # If we're building with cuda, we run ctest manually so that we can skip the GPU tests
4848+ checkPhase = lib.optionalString cudaSupport ''
4949+ ctest --force-new-ctest-process ${lib.optionalString cudaSupport "-E TestXGBoostLib"}
5050+ '';
5151+4652 installPhase = let
4753 libname = "libxgboost${stdenv.hostPlatform.extensions.sharedLibrary}";
4854 in ''