From 215ec2ddc6088be2291722a544c6ab5a1b00a5a1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 24 Aug 2006 14:34:29 +0000 Subject: * 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. --- tests/lang/eval-okay-to-xml.nix | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/lang/eval-okay-to-xml.nix (limited to 'tests/lang/eval-okay-to-xml.nix') diff --git a/tests/lang/eval-okay-to-xml.nix b/tests/lang/eval-okay-to-xml.nix new file mode 100644 index 0000000000..ff1791b30e --- /dev/null +++ b/tests/lang/eval-okay-to-xml.nix @@ -0,0 +1 @@ +builtins.toXML [("a" + "b") 10 (rec {x = "x"; y = x;})] -- cgit 1.4.1