summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2017-10-29 15:28:35 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2017-10-29 17:32:12 +0100
commit73f33b93797383a356133a2e871af9c07f5b5376 (patch)
treeaad064df1c78bf00e1b10b74171dd612962d602b
parentadce670797a4fe39f9ac979fb43534346820420c (diff)
downloadguix-73f33b93797383a356133a2e871af9c07f5b5376.tar.gz
import: cpan: Add trailing "/" to CPAN-HOME.
Prevent regression after commit e4bc1727302b0e1e255ea5cf4e2ccf33cafe7296.

* guix/import/cpan.scm (cpan-home): Add trailing "/".
-rw-r--r--guix/import/cpan.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm
index 5ba1adf402..b5dba2bc1c 100644
--- a/guix/import/cpan.scm
+++ b/guix/import/cpan.scm
@@ -115,7 +115,7 @@ or #f on failure.  MODULE should be e.g. \"Test::Script\""
   (json-fetch (string-append "https://fastapi.metacpan.org/v1/release/" 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)
   "Return the download URL for a module's source tarball."