[Nix-dev] builtins.toXML vs nix-instantiate --xml

Ludovic Courtès ludo at gnu.org
Fri May 23 11:06:39 CEST 2014


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’.



More information about the nix-dev mailing list