diff options
author | Timothy Sample <samplet@ngyro.com> | 2021-03-19 23:03:25 -0400 |
---|---|---|
committer | Timothy Sample <samplet@ngyro.com> | 2021-04-27 21:27:02 -0400 |
commit | 66b14dccdd0d83c875ce3a8d50ceab8b6f0a3ce2 (patch) | |
tree | 460b2a00b44adc6742f2d1bf2c5f7565d18f3fb7 /gnu/packages/disk.scm | |
parent | 4f59ef3edb9ad72ea6f0b2856b4a3336a9654c90 (diff) | |
download | guix-patches-66b14dccdd0d83c875ce3a8d50ceab8b6f0a3ce2.tar guix-patches-66b14dccdd0d83c875ce3a8d50ceab8b6f0a3ce2.tar.gz |
download: Use Disarchive as a last resort.
* guix/download.scm (%disarchive-mirrors): New variable.
(%disarchive-mirror-file): New variable.
(built-in-download): Add 'disarchive-mirrors' keyword argument and
pass its value along to the 'builtin:download' derivation.
(url-fetch): Pass '%disarchive-mirror-file' to 'built-in-download'.
* guix/scripts/perform-download.scm (perform-download): Read
Disarchive mirrors from the environment and pass them to
'url-fetch'.
* guix/build/download.scm (disarchive-fetch/any): New procedure.
(url-fetch): Add 'disarchive-mirrors' keyword argument, use it to
make a list of URIs, and use the new procedure to fetch the file if
all other methods fail.
Diffstat (limited to 'gnu/packages/disk.scm')
0 files changed, 0 insertions, 0 deletions