mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-18 16:20:28 +02:00
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>