download: Remove hydra from content-addressed URL list
* guix/build/download-nar.scm (urls-for-item): Remove mirror.hydra.gnu.org. * guix/download.scm (%content-addressed-mirrors): Likewise.
This commit is contained in:
parent
3a8bfebed9
commit
87a90486ca
|
@ -42,10 +42,10 @@
|
|||
"Return the fallback nar URL for ITEM--e.g.,
|
||||
\"/gnu/store/cabbag3…-foo-1.2-checkout\"."
|
||||
;; Here we hard-code nar URLs without checking narinfos. That's probably OK
|
||||
;; though.
|
||||
;; though. Use berlin.guixsd.org instead of its ci.guix.gnu.org front end to
|
||||
;; avoid sending these requests to CDN providers without user consent.
|
||||
;; TODO: Use HTTPS? The downside is the extra dependency.
|
||||
(let ((bases '("http://mirror.hydra.gnu.org/guix"
|
||||
"http://berlin.guixsd.org"))
|
||||
(let ((bases '("http://berlin.guixsd.org"))
|
||||
(item (basename item)))
|
||||
(append (map (cut string-append <> "/nar/gzip/" item) bases)
|
||||
(map (cut string-append <> "/nar/" item) bases))))
|
||||
|
|
|
@ -394,7 +394,6 @@
|
|||
'(guix base16) '(bytevector->base16-string))
|
||||
|
||||
(list (guix-publish "ci.guix.gnu.org")
|
||||
(guix-publish "mirror.hydra.gnu.org")
|
||||
(lambda (file algo hash)
|
||||
;; 'tarballs.nixos.org' supports several algorithms.
|
||||
(string-append "https://tarballs.nixos.org/"
|
||||
|
|
Loading…
Reference in New Issue