diff options
author | Thiago Jung Bauermann <bauermann@kolabnow.com> | 2022-05-15 19:02:28 -0300 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-06-01 22:44:09 +0200 |
commit | c017acec3421d10ceceffbd68312083645562ce5 (patch) | |
tree | e408565b08f4dec9b11fed1f77c23968d74fcdd9 /gnu/packages/elm.scm | |
parent | 47792b9b56452d9cb64a36cd0b6effc65c6b2b67 (diff) | |
download | guix-c017acec3421d10ceceffbd68312083645562ce5.tar.gz |
gnu: public-inbox: Some packaging fixes
The file ‘script/public-inbox-compact’ doesn't call ‘xapian-compact’ directly anymore, so the substitution in the ‘qualify-paths’ phase doesn't do anything. Now there's a reference to ‘xapian-compact’ in ‘lib/PublicInbox/Xapcmd.pm’, so substitute the path there. And move xapian from native-inputs to inputs and use its input path in the substitution, since ‘xapian-compact’ is called during normal execution of public-inbox. Also add ‘bash-minimal’ to the package's inputs, since it uses ‘wrap-program’. Finally, take the opportunity to change build phases to not return #t unconditionally, since that isn't necessary anymore. * gnu/packages/mail.scm (public-inbox)[arguments]<#:phases>: Don't return #t from each phase. {qualify-paths}: Substitute ‘xapian-compact’ path in the correct file. Use ‘search-input-file’ rather than ‘which’ to find it. [native-inputs]: Move ‘xapian’ from here ... [inputs]: ... to here. Add ‘bash-minimal’. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/elm.scm')
0 files changed, 0 insertions, 0 deletions