gnu: Patch ikiwiki to set PERL5LIB in the CGI wrapper. This helps with CGI support. * gnu/packages/web.scm (ikiwik)[arguments]: Add 'include-PERL5LIB-in-wrapper phase.
1 files changed, 9 insertions(+), 0 deletions(-) M gnu/packages/web.scm
M gnu/packages/web.scm => gnu/packages/web.scm +9 -0
@@ 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"))