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 🔒