mirror of
https://github.com/NixOS/nix
synced 2024-09-20 23:28:26 -04:00
1bdeef8395
- This way we improve error messages on infinite recursion - Demo: ```nix let x = builtins.fetchMercurial x; in x ``` - Before: ```bash $ nix-instantiate --show-trace --strict error: infinite recursion encountered ``` - After: ```bash nix-instantiate --show-trace --strict error: infinite recursion encountered at /data/github/kamadorueda/test/default.nix:2:7: 1| let 2| x = builtins.fetchMercurial x; | ^ 3| in ``` Mentions: #3505 |
||
---|---|---|
.. | ||
context.cc | ||
derivation.nix | ||
fetchMercurial.cc | ||
fetchTree.cc | ||
fromTOML.cc |