gnu: ikiwiki: Add missing input.

* gnu/packages/web.scm (ikiwiki)[inputs]: Add perl-xml-feed.
[arguments]: Add 'pre-check' phase.
This commit is contained in:
Paul Garlick 2020-05-21 13:10:08 +01:00
parent 40b793fd51
commit a7f89f97b7
No known key found for this signature in database
GPG key ID: AAC7E891896B568A

View file

@ -4876,6 +4876,13 @@ (define-public ikiwiki
(invoke "find" "doc" "underlays" "-type" "f" "-exec"
"touch" "{}" "+")
#t))
(add-before 'check 'pre-check
;; XDG_DATA_DIRS is needed by the podcast.t test.
(lambda* (#:key inputs #:allow-other-keys)
(setenv "XDG_DATA_DIRS"
(string-append (assoc-ref inputs "shared-mime-info")
"/share"))
#t))
(add-after 'install 'wrap-programs
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@ -4907,6 +4914,7 @@ (define-public ikiwiki
("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
("perl-mail-sendmail" ,perl-mail-sendmail)
("perl-timedate" ,perl-timedate)
("perl-xml-feed" ,perl-xml-feed)
("perl-xml-sax" ,perl-xml-sax)
("perl-xml-simple" ,perl-xml-simple)
("perl-xml-twig" ,perl-xml-twig)