-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report error location in tree #9
Comments
I have the beginnings a an error origin parser that actually shows you the location in the toml file, with line numbers. It's actually quite nice, but it'll have to be abstracted to be more generally useful: Line 26 in 9f84d5b
|
So now that As for knowing our current location within the module system for debugging purposes, #36 is an excellent start. We really just need to ensure some consistency with In any case, all that's left to do there is clean up the implementation, it already reports location information quite nicely. |
https://github.com/ekala-project/modules/blob/master/src%2Fdefault.nix#L55
We should find a way, potentially through an upstream patch, to show the error location (unsafely) within the current working tree, rather than (or: in addition to) within the nix store.
The text was updated successfully, but these errors were encountered: