Merge pull request #661 from trepetti/override-lightgbm

overrides.lightgbm: add temporary home directory for source build
This commit is contained in:
adisbladis 2022-06-16 03:11:58 +08:00 committed by GitHub
commit 754b9c4af4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -857,6 +857,9 @@ lib.composeManyExtensions [
old: {
nativeBuildInputs = [ pkgs.cmake ] ++ old.nativeBuildInputs;
dontUseCmakeConfigure = true;
postConfigure = ''
export HOME=$(mktemp -d)
'';
}
);