import: cpan: Use cpan mirror url.
* guix/import/cpan.scm (cpan-module->sexp)[source-url]: Substitute cpan mirror url.
This commit is contained in:
parent
a0c2c4b45b
commit
e92a4ad928
|
@ -167,7 +167,9 @@ META."
|
||||||
(list 'quasiquote inputs))))))
|
(list 'quasiquote inputs))))))
|
||||||
|
|
||||||
(define source-url
|
(define source-url
|
||||||
(assoc-ref meta "download_url"))
|
(regexp-substitute/global #f "http://cpan.metacpan.org"
|
||||||
|
(assoc-ref meta "download_url")
|
||||||
|
'pre "mirror://cpan" 'post))
|
||||||
|
|
||||||
(let ((tarball (with-store store
|
(let ((tarball (with-store store
|
||||||
(download-to-store store source-url))))
|
(download-to-store store source-url))))
|
||||||
|
|
Loading…
Reference in New Issue