aboutsummaryrefslogtreecommitdiff
path: root/nix.conf.example
AgeCommit message (Collapse)Author
2010-08-17* Document --cores in the manual.Eelco Dolstra
2010-08-04* Remove "auto" and "guess" as synonyms for 0 in the handling ofEelco Dolstra
build-cores and --cores. They're superfluous and just complicate the parsing.
2010-06-23Added support for passing an (impure) NIX_BUILD_CORES variable to build ↵Peter Simons
expressions. This patch adds the configuration file variable "build-cores" and the command line argument "--cores". These settings specify the number of CPU cores to utilize for parallel building within a job, i.e. by passing an appropriate "-j" flag to GNU Make. The default value is 1, which means that parallel building is *disabled*. If the number of build cores is specified as 0 (synonymously: "guess" or "auto"), then the actual value is supposed to be auto-detected by builders at run-time, i.e by calling the nproc(1) utility from coreutils. The environment variable $NIX_BUILD_CORES is available to builders, but the contents of that variable does *not* influence the hash that goes into the $out store path, i.e. the number of build cores to be utilized can be changed at will without requiring any re-builds.
2009-03-29* Undocument the "system" option. No sane person would use it :-)Eelco Dolstra
2009-03-25* Negative caching, i.e. caching of build failures. Disabled byEelco Dolstra
default. This is mostly useful for Hydra.
2008-11-19* Removed obsolete option.Eelco Dolstra
2008-11-11* Add /dev/pts to the default nix.conf.Eelco Dolstra
2007-10-29(no commit message)Eelco Dolstra
2007-10-27* Delete the chroot directory automatically.Eelco Dolstra
* Removed some debug messages.
2006-12-08* Kill a build if it has gone for more than a certain number ofEelco Dolstra
seconds without producing output on stdout or stderr (NIX-65). This timeout can be specified using the `--max-silent-time' option or the `build-max-silent-time' configuration setting. The default is infinity (0). * Fix a tricky race condition: if we kill the build user before the child has done its setuid() to the build user uid, then it won't be killed, and we'll potentially lock up in pid.wait(). So also send a conventional kill to the child.
2006-12-06* Urgh.Eelco Dolstra
2006-12-06* Oops.Eelco Dolstra
2006-12-06* Get rid of `build-users'. We'll just take all the members ofEelco Dolstra
`build-users-group'. This makes configuration easier: you can just add users in /etc/group.
2006-12-03* Removed `build-allow-root'.Eelco Dolstra
* Added `build-users-group', the group under which builds are to be performed. * Check that /nix/store has 1775 permission and is owner by the build-users-group.
2006-08-10* New configuration setting `build-max-jobs' which sets the defaultEelco Dolstra
for the `-j' flag (i.e., the maximum number of jobs to execute in parallel). Useful on multi-processor machines.
2006-07-06* Allow the canonical system name to be specified at runtime in theEelco Dolstra
Nix config file.
2006-02-16* Allow the size of the GC reserved file to be specified in nix.confEelco Dolstra
through the new `gc-reserved-space' option.
2005-09-22* Parse multi-valued options.Eelco Dolstra
2005-09-21* This doesn't parse for now.Eelco Dolstra
2005-09-21* Configuration options for trusted local builds.Eelco Dolstra
2005-02-14* Global configuration option `env-keep-derivations' to store pointerEelco Dolstra
to derivations in user environments. Nice for developers (since it prevents build-time-only dependencies from being GC'ed, in conjunction with `gc-keep-outputs'). Turned off by default.
2005-02-01* Added a global configuration file (/nix/etc/nix/nix.conf). ItEelco Dolstra
contains options for the garbage collector right now, but other stuff can be added here later.