lint: Correct use of 'with-networking-fail-safe'.
Fixes <https://bugs.gnu.org/37160>. Reported by Jonathan Brielmaier <jonathan.brielmaier@web.de>. * guix/lint.scm (check-for-updates): Make sure the first argument to 'with-networking-fail-safe' is the whole error message.master
parent
dd4e46edda
commit
58d5f280a3
|
@ -1008,8 +1008,8 @@ the NIST server non-fatal."
|
||||||
(define (check-for-updates package)
|
(define (check-for-updates package)
|
||||||
"Check if there is an update available for PACKAGE."
|
"Check if there is an update available for PACKAGE."
|
||||||
(match (with-networking-fail-safe
|
(match (with-networking-fail-safe
|
||||||
(G_ "while retrieving upstream info for '~a'")
|
(format #f (G_ "while retrieving upstream info for '~a'")
|
||||||
(list (package-name package))
|
(package-name package))
|
||||||
#f
|
#f
|
||||||
(package-latest-release* package (force %updaters)))
|
(package-latest-release* package (force %updaters)))
|
||||||
((? upstream-source? source)
|
((? upstream-source? source)
|
||||||
|
|
Reference in New Issue