1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

Allow includes from nix.conf

This commit is contained in:
Shea Levy 2018-02-13 08:16:32 -05:00
parent f471aacff2
commit 6eb1040e90
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27
3 changed files with 36 additions and 2 deletions

View file

@ -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.