summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/build/download.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/download.scm b/guix/build/download.scm
index a04e781480..cda715993e 100644
--- a/guix/build/download.scm
+++ b/guix/build/download.scm
@@ -207,7 +207,8 @@ which is not available during bootstrap."
                    (newline))
                  (put-bytevector p bv-or-port))))
          file))
-      ((302)                                      ; found (redirection)
+      ((301                                       ; moved permanently
+        302)                                      ; found (redirection)
        (let ((uri (response-location resp)))
          (format #t "following redirection to `~a'...~%"
                  (uri->string uri))