From 58d5f280a36e1cfddfa999d320c285726d8a8bc1 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 27 Aug 2019 23:59:48 +0200 Subject: lint: Correct use of 'with-networking-fail-safe'. Fixes . Reported by Jonathan Brielmaier . * guix/lint.scm (check-for-updates): Make sure the first argument to 'with-networking-fail-safe' is the whole error message. --- guix/lint.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/lint.scm b/guix/lint.scm index 7a2bf5a347..212ff70d54 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -1008,8 +1008,8 @@ the NIST server non-fatal." (define (check-for-updates package) "Check if there is an update available for PACKAGE." (match (with-networking-fail-safe - (G_ "while retrieving upstream info for '~a'") - (list (package-name package)) + (format #f (G_ "while retrieving upstream info for '~a'") + (package-name package)) #f (package-latest-release* package (force %updaters))) ((? upstream-source? source) -- cgit v1.2.3