import: gnome: Silence URL redirect messages.

* guix/import/gnome.scm (latest-gnome-release): Pass #:log-port to
'http-fetch/cached'.
This commit is contained in:
Ludovic Courtès 2021-03-17 15:05:34 +01:00
parent dbfc6a32bb
commit 62c1b0b744
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 1 deletions

View File

@ -83,7 +83,10 @@ not be determined."
;; ftp.gnome.org supports 'if-Modified-Since', so the local
;; cache can expire early.
#:ttl (* 60 10)))
#:ttl (* 60 10)
;; Hide messages about URL redirects.
#:log-port (%make-void-port "w")))
(json (json->scm port)))
(close-port port)
(match json