forked from lix-project/lix
e5a27a3b4e
- This way we improve error messages on infinite recursion - Demo: ```nix let x = builtins.fetchTree { type = "git"; inherit x; }; in x ``` - Before: ```bash $ nix-instantiate --extra-experimental-features flakes --strict error: infinite recursion encountered ``` - After: ```bash $ nix-instantiate --extra-experimental-features flakes --strict error: infinite recursion encountered at /data/github/kamadorueda/nix/test.nix:3:10: 2| type = "git"; 3| inherit x; | ^ 4| }; ``` Mentions: #3505 |
||
---|---|---|
.. | ||
context.cc | ||
derivation.nix | ||
fetchMercurial.cc | ||
fetchTree.cc | ||
fromTOML.cc |