diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-05-01 17:24:41 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-05-01 17:28:20 +0200 |
commit | dff3189c7d5d95177ff592789e1bcb73a4adcc9e (patch) | |
tree | 897cb0f23c7b51a248ac9284883fafec81ed0dfa /tests/union.scm | |
parent | e93793059d4a15894e407525bdc33fd06e2b104a (diff) | |
download | guix-dff3189c7d5d95177ff592789e1bcb73a4adcc9e.tar guix-dff3189c7d5d95177ff592789e1bcb73a4adcc9e.tar.gz |
publish: Produce a "FileSize" narinfo field when possible.
* guix/scripts/publish.scm (narinfo-string): Add #:file-size parameter.
Produce a "FileSize" field when COMPRESSION is eq? to '%no-compression'
or when FILE-SIZE is true.
(bake-narinfo+nar): Pass #:file-size.
* tests/publish.scm ("/*.narinfo")
("/*.narinfo with properly encoded '+' sign")
("with cache"): Check for "FileSize".
Diffstat (limited to 'tests/union.scm')
0 files changed, 0 insertions, 0 deletions