mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
cb7fbd4d83
Adds the failing value to `value is <TYPE> while a <TYPE> is expected` error messages.
11 lines
300 B
Plaintext
11 lines
300 B
Plaintext
error:
|
|
… while calling the 'length' builtin
|
|
at /pwd/lang/eval-fail-call-primop.nix:1:1:
|
|
1| builtins.length 1
|
|
| ^
|
|
2|
|
|
|
|
… while evaluating the first argument passed to builtins.length
|
|
|
|
error: expected a list but found an integer: 1
|