summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-12-07 23:14:09 +0100
committerLudovic Courtès <ludo@gnu.org>2019-12-08 00:47:26 +0100
commitdeeaa9e1993b9c4684be8879d154000d234a5c24 (patch)
tree4af3cab9fd83f8dfd5db7a908374526e3f0bb164
parenta4a2807b95e03f4adb9868b70edc2132a30a2732 (diff)
downloadguix-deeaa9e1993b9c4684be8879d154000d234a5c24.tar.gz
gnu: tcc-boot0: Add ftp.gnu.org URL for the source tarball.
The generated source tarball from gitlab.com is now mirrored at
ftp.gnu.org to ensure that it remains available, unchanged.

* gnu/packages/commencement.scm (tcc-boot0)[source]: Add "mirror://gnu" URL.
-rw-r--r--gnu/packages/commencement.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 6a382c7517..68030376fc 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -176,9 +176,11 @@
       (version (string-append version "-" revision "." (string-take commit 7)))
       (source (origin
                 (method url-fetch)
-                (uri (string-append "https://gitlab.com/janneke/tinycc"
-                                    "/-/archive/" commit
-                                    "/tinycc-" commit ".tar.gz"))
+                (uri (list (string-append "mirror://gnu/guix/mirror"
+                                          "/tinycc-" commit ".tar.gz")
+                           (string-append "https://gitlab.com/janneke/tinycc"
+                                          "/-/archive/" commit
+                                          "/tinycc-" commit ".tar.gz")))
                 (sha256
                  (base32
                   "1hmzn1pq0x22ppd80hyrn5qzqq94mxd0ychzj6vrr2vnj2frjv5b"))))