import: cpan: Add trailing "/" to CPAN-HOME.

Prevent regression after commit e4bc172730.

* guix/import/cpan.scm (cpan-home): Add trailing "/".
This commit is contained in:
Tobias Geerinckx-Rice 2017-10-29 15:28:35 +01:00
parent adce670797
commit 73f33b9379
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -115,7 +115,7 @@ (define (cpan-fetch name)
(json-fetch (string-append "https://fastapi.metacpan.org/v1/release/" name))) (json-fetch (string-append "https://fastapi.metacpan.org/v1/release/" name)))
(define (cpan-home name) (define (cpan-home name)
(string-append "http://search.cpan.org/dist/" name)) (string-append "http://search.cpan.org/dist/" name "/"))
(define (cpan-source-url meta) (define (cpan-source-url meta)
"Return the download URL for a module's source tarball." "Return the download URL for a module's source tarball."