forked from lix-project/lix
eldritch horrors
609a8e0d94
Print the value in `error: cannot coerce` messages (cherry picked from commit5b7bfd2d6b
) === test taken from 6e8d5983143ae576e3f4b1d2954a5267f2943a49; it was added previously (and not backported because its pr was a mostly-revert), but it's useful to have around. Change-Id:Icbd14b55e3610ce7b774667bf14b82e6dc717982
9 lines
297 B
Plaintext
9 lines
297 B
Plaintext
error:
|
|
… while evaluating a path segment
|
|
at /pwd/lang/eval-fail-bad-string-interpolation-1.nix:1:2:
|
|
1| "${x: x}"
|
|
| ^
|
|
2|
|
|
|
|
error: cannot coerce a function to a string: «lambda @ /pwd/lang/eval-fail-bad-string-interpolation-1.nix:1:4»
|