nix: short TMPDIR for tests on Darwin
This fixes test failures due to overly long nix-daemon socket paths.
This commit is contained in:
parent
c2e3f7b687
commit
57a0224a42
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,9 @@ let
|
|||
|
||||
doInstallCheck = true;
|
||||
|
||||
# socket path becomes too long otherwise
|
||||
preInstallCheck = lib.optional stdenv.isDarwin "export TMPDIR=/tmp";
|
||||
|
||||
separateDebugInfo = stdenv.isLinux;
|
||||
|
||||
crossAttrs = {
|
||||
|
|
Loading…
Reference in a new issue