about summary refs log tree commit diff
path: root/tests/init.sh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-02-13T13·16-0500
committerShea Levy <shea@shealevy.com>2018-02-13T13·16-0500
commit6eb1040e909ab83fbc03983724d9c6ec223c4495 (patch)
tree979e10a32a8d7c82afce42abd9286e1efba53688 /tests/init.sh
parentf471aacff213047390951620f5f9799dc745f167 (diff)
Allow includes from nix.conf
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 41cca047d8fb..e5353598bcc4 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.