summaryrefslogtreecommitdiff
path: root/tests/utils.scm
diff options
context:
space:
mode:
authorTimothy Sample <samplet@ngyro.com>2021-03-19 23:03:25 -0400
committerTimothy Sample <samplet@ngyro.com>2021-04-27 21:27:02 -0400
commit66b14dccdd0d83c875ce3a8d50ceab8b6f0a3ce2 (patch)
tree460b2a00b44adc6742f2d1bf2c5f7565d18f3fb7 /tests/utils.scm
parent4f59ef3edb9ad72ea6f0b2856b4a3336a9654c90 (diff)
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 'tests/utils.scm')
0 files changed, 0 insertions, 0 deletions