[bug#36578,4/9] download: Use the new 'derivation' calling convention.
diff mbox series

Message ID 20190710171128.21568-4-ludo@gnu.org
State New
Headers show
  • Modernize the API of the 'derivation' primitive
Related show

Commit Message

Ludovic Court├Ęs July 10, 2019, 5:11 p.m. UTC
* guix/download.scm (built-in-download): Pass MIRRORS and
CONTENT-ADDRESSED-MIRRORS as #:sources, not #:inputs.
 guix/download.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff mbox series

diff --git a/guix/download.scm b/guix/download.scm
index fe680be4a2..b24aaa0a86 100644
--- a/guix/download.scm
+++ b/guix/download.scm
@@ -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"