aboutsummaryrefslogtreecommitdiff
path: root/tests/init.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-10-16 17:45:09 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-10-21 13:34:44 +0200
commitaabf5c86c9df1b4e1616a4cf06ee14a6edf2e5e1 (patch)
treed571b6fc195967fef1f54696151594119b74f632 /tests/init.sh
parent389a2cebed7cd72bda524ece0a56af2888cd80b6 (diff)
Add experimental-features setting
Experimental features are now opt-in. There is currently one experimental feature: "nix-command" (which enables the "nix" command. This will allow us to merge experimental features more quickly, without committing to supporting them indefinitely. Typical usage: $ nix build --experimental-features 'nix-command flakes' nixpkgs#hello (cherry picked from commit 8e478c234100cf03ea1b777d4bd42a9be7be9e8c, without the "flakes" feature)
Diffstat (limited to 'tests/init.sh')
-rw-r--r--tests/init.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/init.sh b/tests/init.sh
index 19a12c1e2..6a119aad0 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -17,6 +17,7 @@ cat > "$NIX_CONF_DIR"/nix.conf <<EOF
build-users-group =
keep-derivations = false
sandbox = false
+experimental-features = nix-command
include nix.conf.extra
EOF