The ‘printValueAsXML’ function in libexpr has an optional ‘location’
Boolean parameter, which determines whether to emit source location
information or not.

‘nix-instantiate’ sets that to true, but the ‘toXML’ primop doesn’t do
that.  Perhaps it could expose an extra parameter for that?

Ludo’.

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to