aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-07-27 16:18:07 -0400
committerLeo Famulari <leo@famulari.name>2017-07-27 16:22:17 -0400
commit70629b6d9a7fc48fdbe4667f99d004c9a99ba703 (patch)
treeda726f2f2b5ade9dad645cee48357e77506a0557 /gnu/packages/web.scm
parentf27954a077244b783f47095710b48375dcc9b2ee (diff)
downloadguix-70629b6d9a7fc48fdbe4667f99d004c9a99ba703.tar
guix-70629b6d9a7fc48fdbe4667f99d004c9a99ba703.tar.gz
gnu: perl-feed-find: Fix build with Perl 5.26.0.
* gnu/packages/web.scm (perl-feed-find)[arguments]: Set PERL_USE_UNSAFE_INC in new 'set-env' phase.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e9c5021617..7baee03185 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1980,7 +1980,11 @@ with Encode::decode(locale => $string).")
(build-system perl-build-system)
(arguments
;; Tests expect to query files at http://stupidfool.org/perl/feeds/
- `(#:tests? #f))
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-env
+ (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
(inputs
`(("perl-class-errorhandler" ,perl-class-errorhandler)
("perl-html-parser" ,perl-html-parser)