diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-27 12:10:15 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-01-13 22:24:19 +0100 |
commit | d288a4de7df90bcd7288f779883279c1202fbe23 (patch) | |
tree | 61c801b64cd63ab6a4bce2e688da4eff5b1b7fb9 /etc/git | |
parent | db0cecdf6b2f2b8f9c5a3cebe8fc60e79a692be0 (diff) | |
download | guix-patches-d288a4de7df90bcd7288f779883279c1202fbe23.tar guix-patches-d288a4de7df90bcd7288f779883279c1202fbe23.tar.gz |
publish: Add support for zstd compression.
* guix/scripts/publish.scm (compress-nar)[write-compressed-file]: New
procedure.
Use it for 'gzip' and 'lzip'. Add 'zstd.
(nar-response-port, string->compression-type): Add case for 'zstd'.
* tests/publish.scm (zstd-supported?): New procedure.
("/nar/zstd/*"): New test.
* doc/guix.texi (Invoking guix publish): Document zstd compression.
(Base Services): Add cross-reference to the above node.
Diffstat (limited to 'etc/git')
0 files changed, 0 insertions, 0 deletions