1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-18 16:20:28 +02:00
Files
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
..
2022-05-31 14:51:13 +02:00
2022-05-31 14:53:42 -04:00
2022-05-31 14:53:42 -04:00
2022-06-01 22:55:27 +03:00