nix: short TMPDIR for tests on Darwin

This fixes test failures due to overly long nix-daemon socket paths.
This commit is contained in:
Robert Vollmert 2017-07-04 21:48:59 +02:00
parent c2e3f7b687
commit 57a0224a42

View file

@ -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 = {