Merge pull request #44177 from LnL7/nix-tempdir
nix: don't use /tmp for the tests on darwin
This commit is contained in:
commit
2226b7de07
@ -71,7 +71,9 @@ let
|
|||||||
doInstallCheck = true; # not cross
|
doInstallCheck = true; # not cross
|
||||||
|
|
||||||
# socket path becomes too long otherwise
|
# socket path becomes too long otherwise
|
||||||
preInstallCheck = lib.optional stdenv.isDarwin "export TMPDIR=/tmp";
|
preInstallCheck = lib.optional stdenv.isDarwin ''
|
||||||
|
export TMPDIR=$NIX_BUILD_TOP
|
||||||
|
'';
|
||||||
|
|
||||||
separateDebugInfo = stdenv.isLinux;
|
separateDebugInfo = stdenv.isLinux;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user