summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/web.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index a78f5b6f0d..8a6cd91ebc 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4301,6 +4301,15 @@ NetSurf project.")
#:tests? #f
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'include-PERL5LIB-in-wrapper
+ (lambda _
+ (substitute* "IkiWiki/Wrapper.pm"
+ (("^@wrapper\\_hooks")
+ (string-append
+ "@wrapper_hooks\n"
+ " addenv(\"PERL5LIB\", \""
+ (getenv "PERL5LIB")
+ "\");")))))
(add-after 'install 'wrap-programs
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))