mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
nixCode -> LinesOfCode
This commit is contained in:
parent
1d43a6e123
commit
00fe653ea5
3 changed files with 67 additions and 55 deletions
|
@ -17,10 +17,10 @@ nix-env -q --foo 2>&1 | grep "unknown flag"
|
|||
|
||||
# Eval Errors.
|
||||
eval_arg_res=$(nix-instantiate --eval -E 'let a = {} // a; in a.foo' 2>&1 || true)
|
||||
echo $eval_arg_res | grep "command line argument (1:15)"
|
||||
echo $eval_arg_res | grep "at: (1:15) from command line argument"
|
||||
echo $eval_arg_res | grep "infinite recursion encountered"
|
||||
|
||||
eval_stdin_res=$(echo 'let a = {} // a; in a.foo' | nix-instantiate --eval -E - 2>&1 || true)
|
||||
echo $eval_stdin_res | grep "stdin (1:15)"
|
||||
echo $eval_stdin_res | grep "at: (1:15) from stdin"
|
||||
echo $eval_stdin_res | grep "infinite recursion encountered"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue