aboutsummaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorKevin Amado <kamadorueda@gmail.com>2021-10-15 18:56:17 -0500
committerKevin Amado <kamadorueda@gmail.com>2021-10-15 19:25:19 -0500
commit18e3d63341bc03e152659a6836a1b52a1241fe57 (patch)
treecf5a0cc86ffe39706c7cf821c6caf0c0ae54bcac /COPYING
parent130284b8508dad3c70e8160b15f3d62042fc730a (diff)
fetchTree: add pos to EvalState::forceValue
- This way we improve error messages on infinite recursion - Demo: ```nix let x = builtins.fetchTree 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:1:9: 1| let x = builtins.fetchTree x; | ^ 2| in x ``` Mentions: #3505
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions