mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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