about summary refs log tree commit diff
path: root/src/libexpr/primops.cc
AgeCommit message (Collapse)AuthorFilesLines
2004-02-02 * Added syntactic sugar to the construction of attribute sets toEelco Dolstra1-1/+1
`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}'.
2003-11-25 * Allow integer bindings in derivations.Eelco Dolstra1-0/+7
2003-11-21 * Uninstallation.Eelco Dolstra1-5/+11
2003-11-19 * Refactoring: put the Nix expression evaluator in its own library soEelco Dolstra1-0/+246
that it can be used by multiple programs.