~ruther/guix-local

c105653329bba7e71b960c782515ca23edf83e3f — Ludovic Courtès 8 years ago db7f7eb
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'.
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/scripts/download.scm
M guix/scripts/download.scm => guix/scripts/download.scm +1 -1
@@ 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))