Merge pull request #44177 from LnL7/nix-tempdir

nix: don't use /tmp for the tests on darwin
This commit is contained in:
Frederik Rietdijk
2018-07-29 09:12:41 +02:00
committed by GitHub

View File

@@ -71,7 +71,9 @@ let
doInstallCheck = true; # not cross
# 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;