1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 11:03:54 +02:00

Output line number on infinite recursion

This commit is contained in:
Iwan Aucamp 2015-07-31 17:32:25 +02:00 committed by Eelco Dolstra
parent 76cc8e97a2
commit 75837651f1
4 changed files with 17 additions and 13 deletions

View file

@ -14,3 +14,6 @@ nix-env --version | grep "$version"
# Usage errors.
nix-env --foo 2>&1 | grep "no operation"
nix-env -q --foo 2>&1 | grep "unknown flag"
# Eval Errors.
nix-instantiate --eval -E 'let a = {} // a; in a.foo' 2>&1 | grep "infinite recursion encountered, at (string):1:15$"