aboutsummaryrefslogtreecommitdiff
path: root/tests/ca/duplicate-realisation-in-closure.sh
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-07-26 06:54:55 +0200
committerregnat <rg@regnat.ovh>2021-07-27 17:06:11 +0200
commitaddacfce4a71f33b50b6af321d6a8d67ca44ceed (patch)
tree9b7f6be365dc34cc2a1de1a4a4930bbcd08dcf20 /tests/ca/duplicate-realisation-in-closure.sh
parent706777a4a8b13771221f9b0ef3e984a50562e82b (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/ca/duplicate-realisation-in-closure.sh')
-rw-r--r--tests/ca/duplicate-realisation-in-closure.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ca/duplicate-realisation-in-closure.sh b/tests/ca/duplicate-realisation-in-closure.sh
index ca9099641..74c5d25fd 100644
--- a/tests/ca/duplicate-realisation-in-closure.sh
+++ b/tests/ca/duplicate-realisation-in-closure.sh
@@ -1,5 +1,7 @@
source ./common.sh
+requireDaemonNewerThan "2.4pre20210625"
+
sed -i 's/experimental-features .*/& ca-derivations ca-references/' "$NIX_CONF_DIR"/nix.conf
export REMOTE_STORE_DIR="$TEST_ROOT/remote_store"