From 23055424f2628470a864106dbc4d4acb003399ee Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Sat, 28 Oct 2017 18:13:08 -0500 Subject: [PATCH] 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. --- guix/import/cpan.scm | 2 +- tests/cpan.scm | 2 +- 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")