Go to file
Peter Simons 8b7f8b56f1 Added support for passing an (impure) NIX_BUILD_CORES variable to build 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.
2010-06-23 14:34:08 +00:00
blacklisting
corepkgs * Sync with the trunk. 2010-05-07 14:46:47 +00:00
doc * Sync with the trunk. 2010-05-07 14:46:47 +00:00
externals 2010-04-22 11:34:15 +00:00
make
misc * Highlight URLs containing "=" properly. 2009-06-18 10:04:14 +00:00
scripts * Pass `--fallback' to the remote build to ignore failing 2010-06-22 14:41:22 +00:00
src Added support for passing an (impure) NIX_BUILD_CORES variable to build expressions. 2010-06-23 14:34:08 +00:00
tests * Print attributes in sorted order. 2010-05-12 12:15:49 +00:00
.gitignore Add `.gitignore'. 2010-02-10 15:55:46 +00:00
aterm-gc.supp * Extend the ATerm suppressions to 64-bit. 2008-08-29 14:38:04 +00:00
AUTHORS
bootstrap.sh
ChangeLog
configure.ac * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
INSTALL
Makefile.am * Don't create /nix/var/nix/gcroots/{tmp,channels}, since they don't 2009-11-23 12:48:54 +00:00
nix.conf.example Added support for passing an (impure) NIX_BUILD_CORES variable to build expressions. 2010-06-23 14:34:08 +00:00
nix.spec.in * Urgh. 2008-11-20 16:42:52 +00:00
README * Install documentation in $(docdir) (i.e. share/doc/nix). 2008-11-19 13:19:09 +00:00
release.nix * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00
substitute.mk * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00
version * Bump version number. 2010-03-17 12:12:45 +00:00

Nix is a purely functional package manager.  For installation and
usage instructions, please read the manual, which can be found in
`docs/manual/manual.html', and additionally at the Nix website at
<http://nixos.org/>.


Acknowledgments

This product includes software developed by the OpenSSL Project for
use in the OpenSSL Toolkit (http://www.OpenSSL.org/).