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"))