guix/gnu
Thiago Jung Bauermann c017acec34
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>
2022-06-01 22:44:09 +02:00
..
bootloader
build image: Add fat32 support. 2022-05-31 14:51:13 +02:00
home
installer
machine
packages gnu: public-inbox: Some packaging fixes 2022-06-01 22:44:09 +02:00
services gnu: Remove wicd. 2022-05-31 14:53:42 -04:00
system gnu: Remove wicd. 2022-05-31 14:53:42 -04:00
tests
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm
local.mk gnu: Remove unreferenced patch. 2022-06-01 22:55:27 +03:00
machine.scm
packages.scm
services.scm gnu: services: Update setuid service description. 2022-05-29 02:00:19 +02:00
system.scm
tests.scm