mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
tests: Get rid of some result symlinks
Fixes error: cannot create symlink '/home/eelco/Dev/nix/tests/result'; already exists
This commit is contained in:
parent
08270af7fe
commit
bf68c693dc
2 changed files with 5 additions and 5 deletions
|
@ -17,10 +17,10 @@ sleep 2 # To make sure that `$(date)` will be different
|
|||
# As we’ve cleared the cache, we’ll have to rebuild current-time. And because
|
||||
# the current time isn’t the same as before, this will yield a new (different)
|
||||
# realisation
|
||||
nix build -f nondeterministic.nix dep2
|
||||
nix build -f nondeterministic.nix dep2 --no-link
|
||||
|
||||
# Build something that depends both on dep1 and dep2.
|
||||
# If everything goes right, we should rebuild dep2 rather than fetch it from
|
||||
# the cache (because that would mean duplicating `current-time` in the closure),
|
||||
# and have `dep1 == dep2`.
|
||||
nix build --substituters "$REMOTE_STORE" -f nondeterministic.nix toplevel --no-require-sigs
|
||||
nix build --substituters "$REMOTE_STORE" -f nondeterministic.nix toplevel --no-require-sigs --no-link
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue