diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-08-27 15:01:16 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-08-27 15:07:21 +0200 |
commit | ebd181138ea850c76103acb1fba3c84c3ba42ef8 (patch) | |
tree | 9c6da529c5b1669569cc2668e67d9a7844515b74 /gnu/packages/perl.scm | |
parent | 88d5889c40da131cb7ee7934bbda676b88ded4d7 (diff) | |
download | guix-ebd181138ea850c76103acb1fba3c84c3ba42ef8.tar guix-ebd181138ea850c76103acb1fba3c84c3ba42ef8.tar.gz |
gnu: perl: Work around more "dotless @INC" build failures.
* gnu/packages/perl.scm (perl-unicode-collate)[arguments]: Add
'set-perl-search-path' phase.
* gnu/packages/xorg.scm (perl-x11-xcb)[arguments]: Likewise.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r-- | gnu/packages/perl.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 1a96ee237b..93fc4059d8 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8165,6 +8165,16 @@ common serialisation formats such as JSON or CBOR.") (base32 "1lq4p3mqqljhhy8wyiyahris33j4m5qfzpi6iacmcqjzw5g4afbm")))) (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))))) (propagated-inputs `(("perl-unicode-normalize" ,perl-unicode-normalize))) (home-page "http://search.cpan.org/dist/Unicode-Collate") |