aboutsummaryrefslogtreecommitdiff
path: root/pkgs/writeXML.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/writeXML.nix')
-rw-r--r--pkgs/writeXML.nix11
1 files changed, 0 insertions, 11 deletions
diff --git a/pkgs/writeXML.nix b/pkgs/writeXML.nix
deleted file mode 100644
index 1cfc075..0000000
--- a/pkgs/writeXML.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-{ writeText, runCommand, libxml2 }:
-
-name: text:
- let
- f = writeText "${name}.raw" text;
- in
- runCommand name { } ''
- ${libxml2}/bin/xmllint \
- --format --noblanks --nocdata ${f} \
- > $out
- ''