about summary refs log tree commit diff
path: root/nix.conf.example
AgeCommit message (Collapse)AuthorFilesLines
2010-06-23 Added support for passing an (impure) NIX_BUILD_CORES variable to build ↵Peter Simons1-0/+12
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 Dolstra1-20/+0
2009-03-25 * Negative caching, i.e. caching of build failures. Disabled byEelco Dolstra1-0/+16
default. This is mostly useful for Hydra.
2008-11-19 * Removed obsolete option.Eelco Dolstra1-19/+0
2008-11-11 * Add /dev/pts to the default nix.conf.Eelco Dolstra1-4/+4
2007-10-29 (no commit message)Eelco Dolstra1-1/+1
2007-10-27 * Delete the chroot directory automatically.Eelco Dolstra1-0/+38
* Removed some debug messages.
2006-12-08 * Kill a build if it has gone for more than a certain number ofEelco Dolstra1-0/+17
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 Dolstra1-1/+1
2006-12-06 * Oops.Eelco Dolstra1-1/+1
2006-12-06 * Get rid of `build-users'. We'll just take all the members ofEelco Dolstra1-26/+26
`build-users-group'. This makes configuration easier: you can just add users in /etc/group.
2006-12-03 * Removed `build-allow-root'.Eelco Dolstra1-18/+27
* 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 Dolstra1-0/+10
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 Dolstra1-0/+20
Nix config file.
2006-02-16 * Allow the size of the GC reserved file to be specified in nix.confEelco Dolstra1-5/+24
through the new `gc-reserved-space' option.
2005-09-22 * Parse multi-valued options.Eelco Dolstra1-1/+1
2005-09-21 * This doesn't parse for now.Eelco Dolstra1-1/+1
2005-09-21 * Configuration options for trusted local builds.Eelco Dolstra1-0/+31
2005-02-14 * Global configuration option `env-keep-derivations' to store pointerEelco Dolstra1-1/+20
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 Dolstra1-0/+30
contains options for the garbage collector right now, but other stuff can be added here later.