diff options
author | Christopher Baines <mail@cbaines.net> | 2023-03-11 19:43:29 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-03-11 19:43:29 +0000 |
commit | 43b846f6b1d2189a7c49c43ccdd8868fe1bd6550 (patch) | |
tree | 58f256476d14e069734e43b1cae811198155d556 /.guix-authorizations | |
parent | 962277fd4313f20c0e0333effbd88352c0a7d461 (diff) | |
download | guix-improve-download-nar.tar guix-improve-download-nar.tar.gz |
guix: Improve download-nar.improve-download-nar
Previously download-nar worked with gzipped nars and queried
berlin.guix.gnu.org (also known as ci.guix.gnu.org). ci.guix.gnu.org no longer
serves gzipped nars so this is of limited use.
This commit changes download-nar to query both the default substitute servers,
and queries for lzipped rather than gzipped nars, since those are available
from both.
* guix/build/download-nar.scm (urls-for-item): Return urls for lzip rather
than gzip compression, and from both default substitute servers. The comment
about CDN's is no longer relevant.
(restore-gzipped-nar): Rename to restore-lzipped-nar and reimplement
accordingly.
(download-nar): Add progress reporting and switch to use lzip rather than
gzip.
* guix/cvs-download.scm (cvs-fetch): Replace guile-zlib with guile-lzlib.
* guix/git-download.scm (git-fetch): Replace guile-zlib with guile-lzlib.
* guix/hg-download.scm (hg-fetch): Replace guile-zlib with guile-lzlib.
* guix/android-repo-download.scm (android-repo-fetch): Add guile-lzlib for
download-nar
Diffstat (limited to '.guix-authorizations')
0 files changed, 0 insertions, 0 deletions