mirror of
https://github.com/NixOS/nix
synced 2024-09-20 23:28:26 -04:00
ef4f5ba85e
This prevents some duplicate evaluation in nix-env and nix-instantiate. Also, when traversing ~/.nix-defexpr, only read regular files with the extension .nix. Previously it was reading files like .../channels/binary-caches/<name>. The only reason this didn't cause problems is pure luck (namely, <name> shadows an actual Nix expression, the binary-caches files happen to be syntactically valid Nix expressions, and we iterate over the directory contents in just the right order). |
||
---|---|---|
.. | ||
attr-path.cc | ||
attr-path.hh | ||
common-opts.cc | ||
common-opts.hh | ||
eval-inline.hh | ||
eval.cc | ||
eval.hh | ||
get-drvs.cc | ||
get-drvs.hh | ||
lexer.l | ||
Makefile.am | ||
names.cc | ||
names.hh | ||
nix.sdf | ||
nixexpr.cc | ||
nixexpr.hh | ||
parser.y | ||
primops.cc | ||
symbol-table.hh | ||
value-to-xml.cc | ||
value-to-xml.hh | ||
value.hh |