mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
1edd6fada5
previously we reported the error at the beginning of the binding block (for plain inherits) or the beginning of the attr list (for inherit-from), effectively hiding where exactly the error happened. this also carries over to runtime positions of attributes in sets as reported by unsafeGetAttrPos. we're not worried about this changing observable eval behavior because it *is* marked unsafe, and the new behavior is much more useful.
7 lines
171 B
Plaintext
7 lines
171 B
Plaintext
error: undefined variable 'gcc'
|
|
at «stdin»:9:13:
|
|
8| body = ({
|
|
9| inherit gcc;
|
|
| ^
|
|
10| }).gcc;
|