[Nix-dev] More accurate error location (xy is an z where m was expected ..) etc

Marc Weber marco-oweber at gmx.de
Sun Mar 9 02:33:31 CET 2008


Sometimes nix only says:
unkown xy in all-packages.nix..
Oh my god where exactly is this happening?

This patch for nix might provide some more information in these cases.
http://mawercer.de/diff_nix_more_error_messages
Maybe it's useful for you as well?

maybe you want to set moreErrorLocations = true in global.cc to be sure
to get this feature. (I haven't tested --more-error-locations very well)
yet.

Sincerly
Marc



More information about the nix-dev mailing list