diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-30T11·33+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-30T11·34+0100 |
commit | 1f735a34406c1856fd2f6f9a522a06b429c4f799 (patch) | |
tree | 0d3495cc6cb753b5b241ceb2d85ff98f831e37ec /src/libutil/compression.hh | |
parent | dae5dc7ade60aa6a9a05e41133da7faebe6bdc1b (diff) |
<nix/fetchurl.nix>: Support xz-compressed NARs
Diffstat (limited to 'src/libutil/compression.hh')
-rw-r--r-- | src/libutil/compression.hh | 9 |
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); + +} |