1
0
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:
Ludovic Courtès
2017-09-14 23:16:22 +02:00
parent db7f7eb8ca
commit c105653329
+1 -1
View File
@@ -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))