1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 06:53:54 +02:00

Fix test failures when $TMPDIR changes

(cherry picked from commit c38c726eb5)
This commit is contained in:
Eelco Dolstra 2019-05-07 21:15:45 +02:00
parent 34fa8ce917
commit 5064971ded
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
4 changed files with 8 additions and 10 deletions

View file

@ -7,7 +7,7 @@ remoteRoot=$TEST_ROOT/store2
chmod -R u+w "$remoteRoot" || true
rm -rf "$remoteRoot"
outPath=$(nix-build dependencies.nix)
outPath=$(nix-build --no-out-link dependencies.nix)
nix copy --to "ssh://localhost?store=$NIX_STORE_DIR&remote-store=$remoteRoot%3fstore=$NIX_STORE_DIR%26real=$remoteRoot$NIX_STORE_DIR" $outPath