aboutsummaryrefslogtreecommitdiff
path: root/tests/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/init.sh')
-rw-r--r--tests/init.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/init.sh b/tests/init.sh
index 41cca047d..e5353598b 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -16,7 +16,12 @@ mkdir "$NIX_CONF_DIR"
cat > "$NIX_CONF_DIR"/nix.conf <<EOF
build-users-group =
keep-derivations = false
+include nix.conf.extra
+EOF
+
+cat > "$NIX_CONF_DIR"/nix.conf.extra <<EOF
fsync-metadata = false
+!include nix.conf.extra.not-there
EOF
# Initialise the database.