mirror of
https://github.com/NixOS/nix
synced 2025-06-26 15:51:15 +02:00
add tests for zstd compression
This commit is contained in:
parent
8a0c00b856
commit
c2dfda007e
3 changed files with 32 additions and 0 deletions
|
@ -179,6 +179,9 @@ ref<const ValidPathInfo> BinaryCacheStore::addToStoreCommon(
|
|||
narInfo->url = "nar/" + narInfo->fileHash->to_string(Base32, false) + ".nar"
|
||||
+ (compression == "xz" ? ".xz" :
|
||||
compression == "bzip2" ? ".bz2" :
|
||||
compression == "zstd" ? ".zst" :
|
||||
compression == "lzip" ? ".lzip" :
|
||||
compression == "lz4" ? ".lz4" :
|
||||
compression == "br" ? ".br" :
|
||||
"");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue