From 1f735a34406c1856fd2f6f9a522a06b429c4f799 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 30 Oct 2015 12:33:40 +0100 Subject: : Support xz-compressed NARs --- src/libutil/compression.hh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/libutil/compression.hh (limited to 'src/libutil/compression.hh') diff --git a/src/libutil/compression.hh b/src/libutil/compression.hh new file mode 100644 index 000000000..962ce5ac7 --- /dev/null +++ b/src/libutil/compression.hh @@ -0,0 +1,9 @@ +#pragma once + +#include + +namespace nix { + +std::string decompressXZ(const std::string & in); + +} -- cgit v1.2.3