summary refs log tree commit diff
path: root/lib/tests/release.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/release.nix')
-rw-r--r--lib/tests/release.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tests/release.nix b/lib/tests/release.nix
index 77e0e1af755..815841e0a8f 100644
--- a/lib/tests/release.nix
+++ b/lib/tests/release.nix
@@ -23,6 +23,10 @@ pkgs.runCommand "nixpkgs-lib-tests" {
     export NIX_STORE_DIR=$TEST_ROOT/store
     export PAGER=cat
     cacheDir=$TEST_ROOT/binary-cache
+
+    mkdir -p $NIX_CONF_DIR
+    echo "experimental-features = nix-command" >> $NIX_CONF_DIR/nix.conf
+
     nix-store --init
 
     cp -r ${../.} lib