Module to_xml

Source
Expand description

This module implements builtins.toXML, which is a serialisation of value information as well as internal snix state that several things in nixpkgs rely on.

Structsยง

XmlEmitter ๐Ÿ”’
A simple-stupid XML emitter, which implements only the subset needed for byte-by-byte compat with C++ nixโ€™ builtins.toXML.

Functionsยง

value_to_xml
Recursively serialise a value to XML. The value must have been deep-forced before being passed to this function. On success, returns the NixContext.
value_variant_to_xml ๐Ÿ”’
write_typed_value ๐Ÿ”’