mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: perl: Work around more "dotless @INC" build issues.
* gnu/packages/perl.scm (perl-hash-fieldhash, perl-string-camelcase)[arguments]: Add 'set-perl-search-path' phase.
This commit is contained in:
parent
1cd5f1776d
commit
f87c1107d6
1 changed files with 20 additions and 0 deletions
|
@ -3432,6 +3432,16 @@ (define-public perl-hash-fieldhash
|
|||
(base32
|
||||
"1wg8nzczfxif55j2nbymbhyd25pjy7dqs4bvd6jrcds3ll3mflaw"))))
|
||||
(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-module-build" ,perl-module-build)
|
||||
("perl-test-leaktrace" ,perl-test-leaktrace)))
|
||||
|
@ -6087,6 +6097,16 @@ (define-public perl-string-camelcase
|
|||
(base32
|
||||
"17kh8nap2z5g5rqcvw0m7mvbai7wr7h0al39w8l827zhqad8ss42"))))
|
||||
(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)))))
|
||||
(home-page "http://search.cpan.org/dist/String-CamelCase")
|
||||
(synopsis "Camelcase and de-camelcase")
|
||||
(description "This module may be used to convert from under_score text to
|
||||
|
|
Loading…
Reference in a new issue