summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2017-10-29 15:51:28 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2017-10-29 17:32:35 +0100
commit6d176ad379e35b3a85da2fb74bc7d2053569602f (patch)
treec6553a4585f47f64d4da3af5fdec2e066e36a2d0
parent73f33b93797383a356133a2e871af9c07f5b5376 (diff)
downloadguix-6d176ad379e35b3a85da2fb74bc7d2053569602f.tar.gz
import: cpan: Actually use CPAN-HOME.
* guix/import/cpan.scm (cpan-module->sexp): Use the CPAN-HOME procedure.
-rw-r--r--guix/import/cpan.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm
index b5dba2bc1c..2ef02c43a4 100644
--- a/guix/import/cpan.scm
+++ b/guix/import/cpan.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2016 Alex Sassmannshausen <alex@pompo.co>
+;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -244,7 +245,7 @@ META."
                        (convert-inputs '("configure" "build" "test")))
        ,@(maybe-inputs 'propagated-inputs
                        (convert-inputs '("runtime")))
-       (home-page ,(string-append "http://search.cpan.org/dist/" name "/"))
+       (home-page ,(cpan-home name))
        (synopsis ,(assoc-ref meta "abstract"))
        (description fill-in-yourself!)
        (license ,(string->license (assoc-ref meta "license"))))))