mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Use shorter daemon socket path in tests
Otherwise we hit the 104 character limit. http://hydra.nixos.org/build/33562028
This commit is contained in:
parent
374198ad6d
commit
3b81b26457
3 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@ set -e
|
|||
|
||||
datadir="@datadir@"
|
||||
|
||||
export TEST_ROOT=$(pwd)/test-tmp
|
||||
export TEST_ROOT=${TMPDIR:-/tmp}/nix-test
|
||||
export NIX_STORE_DIR
|
||||
if ! NIX_STORE_DIR=$(readlink -f $TEST_ROOT/store 2> /dev/null); then
|
||||
# Maybe the build directory is symlinked.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue