diff options
author | Christopher Baines <mail@cbaines.net> | 2017-10-17 20:15:52 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2017-11-19 09:17:55 +0000 |
commit | f4dd303282dc0bfd88606e383c0cf98f3742f771 (patch) | |
tree | 2035883a542e65e85ebcda4f0b9db2372858be6c /gnu/packages | |
parent | 84bd92438251bfe9b5b42f5d69ab9893e401a079 (diff) | |
download | patches-f4dd303282dc0bfd88606e383c0cf98f3742f771.tar patches-f4dd303282dc0bfd88606e383c0cf98f3742f771.tar.gz |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/web.scm | 9 |
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")) |