mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
* New primop __toXML (or builtins.toXML) to convert an expression to
an XML representation stored in a string. This should be useful to pass structured information to builders.
This commit is contained in:
parent
f793caf936
commit
215ec2ddc6
3 changed files with 12 additions and 0 deletions
1
tests/lang/eval-okay-to-xml.nix
Normal file
1
tests/lang/eval-okay-to-xml.nix
Normal file
|
@ -0,0 +1 @@
|
|||
builtins.toXML [("a" + "b") 10 (rec {x = "x"; y = x;})]
|
Loading…
Add table
Add a link
Reference in a new issue