A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth — and committed to doing right by its community
1c9c0a5a46
`inherit' variables from the surrounding lexical scope. E.g., {stdenv, libfoo}: derivation { builder = ./bla; inherit stdenv libfoo; xyzzy = 1; } is equivalent to {stdenv, libfoo}: derivation { builder = ./bla; stdenv = stdenv; libfoo = libfoo; xyzzy = 1; } Note that for mutually recursive attribute set definitions (`rec {...}'), this also works, that is, `rec {inherit x;}' is equivalent to `let {fresh = x; body = rec {x = fresh;};}', *not* `rec {x = x}'. |
||
---|---|---|
corepkgs | ||
doc | ||
externals | ||
scripts | ||
src | ||
testpkgs | ||
AUTHORS | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
nix.spec.in | ||
README | ||
substitute.mk |
*** Nix *** 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://www.cs.uu.nl/groups/ST/Trace/NixDeploymentSystem>.