mirror of
https://github.com/NixOS/nix
synced 2025-06-26 11:41:15 +02:00
<nix/fetchurl.nix>: Support xz-compressed NARs
This commit is contained in:
parent
dae5dc7ade
commit
1f735a3440
7 changed files with 80 additions and 2 deletions
9
src/libutil/compression.hh
Normal file
9
src/libutil/compression.hh
Normal file
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace nix {
|
||||
|
||||
std::string decompressXZ(const std::string & in);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue