summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2017-10-28 18:13:08 -0500
committerEric Bavier <bavier@member.fsf.org>2017-10-28 18:20:58 -0500
commit23055424f2628470a864106dbc4d4acb003399ee (patch)
treef3cdea196c51b2b71d37cff1a85ff3963c24df27
parent9de52b56438674c0d0f92be34cebf5f1a38a6bfa (diff)
downloadpatches-23055424f2628470a864106dbc4d4acb003399ee.tar
patches-23055424f2628470a864106dbc4d4acb003399ee.tar.gz
import: cpan: Propagate imported dependencies.
This is most often the need for perl module dependencies. * guix/import/cpan.scm (cpan-module->sexp): 'inputs -> 'propagated-inputs. * tests/cpan.scm ("cpan->guix-package"): Adjust accordingly.
-rw-r--r--guix/import/cpan.scm2
-rw-r--r--tests/cpan.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm
index 6261e3e924..15b121e829 100644
--- a/guix/import/cpan.scm
+++ b/guix/import/cpan.scm
@@ -242,7 +242,7 @@ META."
;; have not yet had a need for cross-compiled perl
;; modules, however, so we leave it out.
(convert-inputs '("configure" "build" "test")))
- ,@(maybe-inputs 'inputs
+ ,@(maybe-inputs 'propagated-inputs
(convert-inputs '("runtime")))
(home-page ,(string-append "http://search.cpan.org/dist/" name))
(synopsis ,(assoc-ref meta "abstract"))
diff --git a/tests/cpan.scm b/tests/cpan.scm
index 8900716cb0..91e2cc6814 100644
--- a/tests/cpan.scm
+++ b/tests/cpan.scm
@@ -94,7 +94,7 @@
('base32
(? string? hash)))))
('build-system 'perl-build-system)
- ('inputs
+ ('propagated-inputs
('quasiquote
(("perl-test-script" ('unquote 'perl-test-script)))))
('home-page "http://search.cpan.org/dist/Foo-Bar")