download: Use the new 'derivation' calling convention.
authorLudovic Courtès <ludo@gnu.org>
Tue, 9 Jul 2019 21:22:48 +0000 (23:22 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 15 Jul 2019 08:01:05 +0000 (10:01 +0200)
* guix/download.scm (built-in-download): Pass MIRRORS and
CONTENT-ADDRESSED-MIRRORS as #:sources, not #:inputs.

guix/download.scm

index fe680be..b24aaa0 100644 (file)
@@ -432,8 +432,7 @@ download by itself using its own dependencies."
                     #:system system
                     #:hash-algo hash-algo
                     #:hash hash
-                    #:inputs `((,mirrors)
-                               (,content-addressed-mirrors))
+                    #:sources (list mirrors content-addressed-mirrors)
 
                     ;; Honor the user's proxy and locale settings.
                     #:leaked-env-vars '("http_proxy" "https_proxy"