Subject: [bug#44688] [PATCH] weather: Fix '--substitute-urls'.

From: zimoun <[email-masked]>
Date: Mon, 16 Nov 2020 17:51:51 +0100

Fixes <https://bugs.gnu.org/44574>.
Reported by Efraim Flashner <[email-masked]>.

* guix/scripts/weather.scm (guix-weather): Fix when substitute-urls
is a list.
---
 guix/scripts/weather.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/guix/scripts/weather.scm b/guix/scripts/weather.scm
index 6a2582c997..c6ae4212de 100644
--- a/guix/scripts/weather.scm
+++ b/guix/scripts/weather.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2017, 2018, 2019, 2020 Ludovic Courtès <[email-masked]>
 ;;; Copyright © 2017 Ricardo Wurmus <[email-masked]>
 ;;; Copyright © 2018 Kyle Meyer <[email-masked]>
+;;; Copyright © 2020 Simon Tournier <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -30,6 +31,7 @@
   #:use-module (guix grafts)
   #:use-module (guix gexp)
   #:use-module ((guix build syscalls) #:select (terminal-columns))
+  #:use-module ((guix build utils) #:select (every*))
   #:use-module (guix scripts substitute)
   #:use-module (guix http-client)
   #:use-module (guix ci)
@@ -540,7 +542,7 @@ SERVER.  Display information for packages with at least THRESHOLD dependents."
                                     (package-outputs packages system))
                                   systems))))))
         (exit
-         (every (lambda (server)
+         (every* (lambda (server)
                   (define coverage
                     (report-server-coverage server items
                                             #:display-missing?

base-commit: 243512d984e1b870d3b77b2759698a64ed723fea
-- 
2.28.0