mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
Describe where /etc/nix/nix.conf settings come from
This commit is contained in:
parent
3b3dc83902
commit
d6303b6068
|
@ -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 a new issue