diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-08-01 17:42:09 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-08-01 17:58:56 +0200 |
commit | 089b167812624cc69aac95d5a1b69688e3f97117 (patch) | |
tree | 2255fe27e3356307e33c20c2281d60bbfbec293b /tests/build-utils.scm | |
parent | 66c65aafa73f9ca816825abb7f84b353f7bcfdf6 (diff) | |
download | guix-089b167812624cc69aac95d5a1b69688e3f97117.tar guix-089b167812624cc69aac95d5a1b69688e3f97117.tar.gz |
publish: Do not compress already-compressed files.
* guix/scripts/publish.scm (narinfo-string): Force %NO-COMPRESSION when
STORE-PATH matches 'compressed-file?'.
* guix/utils.scm (compressed-file?): New procedure.
* tests/publish.scm ("/*.narinfo for a compressed file"): New test.
Diffstat (limited to 'tests/build-utils.scm')
0 files changed, 0 insertions, 0 deletions