diff options
author | Shea Levy <shea@shealevy.com> | 2018-02-13 08:16:32 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-02-13 08:16:32 -0500 |
commit | 6eb1040e909ab83fbc03983724d9c6ec223c4495 (patch) | |
tree | 979e10a32a8d7c82afce42abd9286e1efba53688 /tests | |
parent | f471aacff213047390951620f5f9799dc745f167 (diff) |
Allow includes from nix.conf
Diffstat (limited to 'tests')
-rw-r--r-- | tests/init.sh | 5 |
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. |