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:
parent
76cc8e97a2
commit
75837651f1
4 changed files with 17 additions and 13 deletions
|
@ -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$"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue