forked from lix-project/lix
a64bbe049e
attributes of the rec are in scope of `e'. This is useful in expressions such as rec { lib = import ./lib; inherit (lib) concatStrings; } It does change the semantics of expressions such as let x = {y = 1;}; in rec { x = {y = 2;}; inherit (x) y; }.y This now returns 2 instead of 1. However, no code in Nixpkgs or NixOS seems to rely on the old behaviour. |
||
---|---|---|
.. | ||
attr-path.cc | ||
attr-path.hh | ||
common-opts.cc | ||
common-opts.hh | ||
eval.cc | ||
eval.hh | ||
expr-to-xml.cc | ||
expr-to-xml.hh | ||
get-drvs.cc | ||
get-drvs.hh | ||
lexer.l | ||
Makefile.am | ||
names.cc | ||
names.hh | ||
nix.sdf | ||
nixexpr-ast.def | ||
nixexpr.cc | ||
nixexpr.hh | ||
parser.hh | ||
parser.y | ||
primops.cc |