[Nix-dev] patch: nix debug coercion failures as xml

Marc Weber marco-oweber at gmx.de
Fri Aug 24 11:57:41 CEST 2012


Sometimes its hard to understand what's going wrong. Eg you see

      value is an attribute set while a list was expected

This patch prints the attribute set as xml so that you understand faster
what's going wrong:

        <attrs>
          ...
        </attrs> is an attribute set while a list was expected


Do you find it useful as well? Then I'll create a pull request. If not
I'll document that the community has no interest in it - then I know
that I don't have to ask again.

The patch is pretty trivial.
Let me know what you think about it.

Marc Weber
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 8165 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120824/eb877375/attachment-0001.obj 


More information about the nix-dev mailing list