summaryrefslogtreecommitdiff
path: root/guix/import
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-03-17 15:05:34 +0100
committerLudovic Courtès <ludo@gnu.org>2021-03-17 23:10:19 +0100
commit62c1b0b7440c030fadcdc793b4b474241c377f37 (patch)
tree99d208133921979d79404c1719f12383b28939d5 /guix/import
parentdbfc6a32bb60d2841e300c99e1b39c87254ece1d (diff)
import: gnome: Silence URL redirect messages.
* guix/import/gnome.scm (latest-gnome-release): Pass #:log-port to 'http-fetch/cached'.
Diffstat (limited to 'guix/import')
-rw-r--r--guix/import/gnome.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/import/gnome.scm b/guix/import/gnome.scm
index c0ee1bfa5d..43966c1028 100644
--- a/guix/import/gnome.scm
+++ b/guix/import/gnome.scm
@@ -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