diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-10-05 22:15:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-10-05 23:05:06 +0200 |
commit | e5788ebbe1f45a1088249b9138de17b330609712 (patch) | |
tree | 062b97f086d9fa9bddfaae2b445137862c3e9570 /scripts | |
parent | 7006370e5970198706b8110ef39a31860300c49d (diff) | |
download | guix-e5788ebbe1f45a1088249b9138de17b330609712.tar.gz guix-e5788ebbe1f45a1088249b9138de17b330609712.zip |
publish: Cache uncompressed nars as well.
Fixes <https://bugs.gnu.org/28664>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.
* guix/scripts/publish.scm (bake-narinfo+nar): When COMPRESSION is
'none, write NAR instead of doing nothing.
(make-request-handler): Use 'render-nar/cached' for /nar URLs with no
compression.
* tests/publish.scm ("with cache", "with cache, uncompressed"): Adjust
expected result accordingly.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions