3
0
Fork 0
forked from mirrors/nixpkgs

Describe where /etc/nix/nix.conf settings come from

This commit is contained in:
Ivan Kozik 2013-08-09 00:51:45 +00:00
parent 3b3dc83902
commit d6303b6068

View file

@ -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"}