about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2018-02-13T16·33+0100
committerGitHub <noreply@github.com>2018-02-13T16·33+0100
commit52c777a79318c85c8fbd8c02174a03511de278db (patch)
tree7fd76a9e21c127346ff664c9618f4f62273230af /tests
parent7253113fd240baea7bafe30fdb2734098ce35fc4 (diff)
parent6eb1040e909ab83fbc03983724d9c6ec223c4495 (diff)
Merge pull request #1863 from shlevy/conf-includes
Allow includes from nix.conf
Diffstat (limited to 'tests')
-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.