mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-06 17:25:56 +02:00
guix download: Honor mirrors when using '-o'.
Previously "guix download -o x mirror://gnu/…" would fail. * guix/scripts/download.scm (download-to-file): Pass #:mirrors to 'url-fetch'.
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
((or 'file #f)
|
||||
(copy-file (uri-path uri) file))
|
||||
(_
|
||||
(url-fetch url file)))
|
||||
(url-fetch url file #:mirrors %mirrors)))
|
||||
file))
|
||||
|
||||
(define* (download-to-store* url #:key (verify-certificate? #t))
|
||||
|
||||
Reference in New Issue
Block a user