From b547ef1d09f0909a47e75f2091068a0a21b523c4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 24 Oct 2017 22:59:52 +0200 Subject: gnu: perl-list-moreutils: Update to 0.426. * gnu/packages/perl.scm (perl-list-moreutils): Update to 0.426. [arguments]: Work around dotless @INC problem. [native-inputs]: Add perl-test-leaktrace; remove perl-inc-latest and perl-test-writevariants. [propagated-inputs]: Add perl-list-moreutils-xs. --- gnu/packages/perl.scm | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 9d054d0b2b..fe3c98aa9c 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -4356,7 +4356,7 @@ intersections, unions, unique elements, complements and many more.") (define-public perl-list-moreutils (package (name "perl-list-moreutils") - (version "0.402") + (version "0.426") (source (origin (method url-fetch) @@ -4364,14 +4364,24 @@ intersections, unions, unique elements, complements and many more.") "List-MoreUtils-" version ".tar.gz")) (sha256 (base32 - "1i0k7kqg1m9nf2xvq9l4lyf38fxvi9952vmmvhcdaf3qa95pxb24")))) + "1dj77b42cp5ziq9y38fff458avjwzm88kn076svcvl660h6n21cf")))) (build-system perl-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'set-perl-search-path + (lambda _ + ;; Work around "dotless @INC" build failure. + (setenv "PERL5LIB" + (string-append (getcwd) ":" + (getenv "PERL5LIB"))) + #t))))) (native-inputs `(("perl-config-autoconf" ,perl-config-autoconf) - ("perl-inc-latest" ,perl-inc-latest) - ("perl-test-writevariants" ,perl-test-writevariants))) + ("perl-test-leaktrace" ,perl-test-leaktrace))) (propagated-inputs - `(("perl-exporter-tiny" ,perl-exporter-tiny))) + `(("perl-exporter-tiny" ,perl-exporter-tiny) + ("perl-list-moreutils-xs" ,perl-list-moreutils-xs))) (home-page "http://search.cpan.org/dist/List-MoreUtils/") (synopsis "Provide the stuff missing in List::Util") (description "List::MoreUtils provides some trivial but commonly needed -- cgit v1.2.3