gnu: ikiwiki: Include auto setup files in output.

* gnu/packages/web.scm(ikiwiki)[arguments]: Add patch-Makefile phase.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Paul Garlick 2018-07-02 12:38:21 +01:00 committed by Marius Bakke
parent abf3a33178
commit 631bc3a666
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -4379,6 +4379,11 @@ (define-public ikiwiki
" addenv(\"PERL5LIB\", \"" " addenv(\"PERL5LIB\", \""
(getenv "PERL5LIB") (getenv "PERL5LIB")
"\");"))))) "\");")))))
(add-after 'patch-source-shebangs 'patch-Makefile
(lambda _
(substitute* "Makefile.PL"
(("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
#t))
(add-after 'install 'wrap-programs (add-after 'install 'wrap-programs
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))