mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
Merge pull request #212 from ivan/nix-conf-header
Describe where /etc/nix/nix.conf settings come from
This commit is contained in:
commit
f29068342a
@ -34,7 +34,8 @@ let
|
||||
pkgs.runCommand "nix.conf" {extraOptions = cfg.extraOptions; } ''
|
||||
extraPaths=$(for i in $(cat ${binshDeps}); do if test -d $i; then echo $i; fi; done)
|
||||
cat > $out <<END
|
||||
# WARNING: this file is generated.
|
||||
# WARNING: this file is generated from the nix.* entries in
|
||||
# ${maybeEnv "NIXOS_CONFIG" "/etc/nixos/configuration.nix"}
|
||||
build-users-group = nixbld
|
||||
build-max-jobs = ${toString (cfg.maxJobs)}
|
||||
build-use-chroot = ${if cfg.useChroot then "true" else "false"}
|
||||
|
Loading…
Reference in New Issue
Block a user