about summary refs log tree commit diff
path: root/src/libutil/compression.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-30T11·33+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-30T11·34+0100
commit1f735a34406c1856fd2f6f9a522a06b429c4f799 (patch)
tree0d3495cc6cb753b5b241ceb2d85ff98f831e37ec /src/libutil/compression.hh
parentdae5dc7ade60aa6a9a05e41133da7faebe6bdc1b (diff)
<nix/fetchurl.nix>: Support xz-compressed NARs
Diffstat (limited to 'src/libutil/compression.hh')
-rw-r--r--src/libutil/compression.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libutil/compression.hh b/src/libutil/compression.hh
new file mode 100644
index 000000000000..962ce5ac7767
--- /dev/null
+++ b/src/libutil/compression.hh
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <string>
+
+namespace nix {
+
+std::string decompressXZ(const std::string & in);
+
+}