mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02: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.
6 lines
171 B
Text
6 lines
171 B
Text
error: undefined variable 'gcc'
|
|
at «stdin»:9:13:
|
|
8| body = ({
|
|
9| inherit gcc;
|
|
| ^
|
|
10| }).gcc;
|