aboutsummaryrefslogtreecommitdiff
path: root/tests/ca/nix-shell.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ca/nix-shell.sh')
-rwxr-xr-xtests/ca/nix-shell.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ca/nix-shell.sh b/tests/ca/nix-shell.sh
new file mode 100755
index 000000000..7f1a3a73e
--- /dev/null
+++ b/tests/ca/nix-shell.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+source common.sh
+
+sed -i 's/experimental-features .*/& ca-derivations ca-references nix-command flakes/' "$NIX_CONF_DIR"/nix.conf
+
+CONTENT_ADDRESSED=true
+cd ..
+source ./nix-shell.sh
+