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:
parent
f471aacff2
commit
6eb1040e90
3 changed files with 36 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue