diff options
author | regnat <rg@regnat.ovh> | 2021-07-26 06:54:55 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-07-27 17:06:11 +0200 |
commit | addacfce4a71f33b50b6af321d6a8d67ca44ceed (patch) | |
tree | 9b7f6be365dc34cc2a1de1a4a4930bbcd08dcf20 /tests/multiple-outputs.sh | |
parent | 706777a4a8b13771221f9b0ef3e984a50562e82b (diff) |
Allow running all the tests with the daemon
When `NIX_DAEMON_PACKAGE` is set, make all the tests use the Nix daemon.
That way we can test every piece of Nix functionality both with and
without the daemon.
Tests for which using the daemon isn’t possible or doesn’t make sens can
selectively be disabled with `needLocalStore`
Diffstat (limited to 'tests/multiple-outputs.sh')
-rw-r--r-- | tests/multiple-outputs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/multiple-outputs.sh b/tests/multiple-outputs.sh index de573d4fa..0bca12b42 100644 --- a/tests/multiple-outputs.sh +++ b/tests/multiple-outputs.sh @@ -58,7 +58,7 @@ outPath2=$(nix-build $(nix-instantiate multiple-outputs.nix -A a.second) --no-ou # Delete one of the outputs and rebuild it. This will cause a hash # rewrite. -nix store delete $TEST_ROOT/result-second --ignore-liveness +env -u NIX_REMOTE nix store delete $TEST_ROOT/result-second --ignore-liveness nix-build multiple-outputs.nix -A a.all -o $TEST_ROOT/result [ "$(cat $TEST_ROOT/result-second/file)" = "second" ] [ "$(cat $TEST_ROOT/result-second/link/file)" = "first" ] |