public-inbox: add xapian to PATH

Some public-inbox programs run xapian-compact, so we need to make sure
it's in PATH.
This commit is contained in:
Alyssa Ross 2023-06-14 15:29:24 +00:00
parent e4d9386f02
commit c2730b96dc
2 changed files with 4 additions and 0 deletions

View File

@ -223,5 +223,8 @@ in
# require to use --all
machine.succeed("curl -L https://machine.${domain}/inbox/repo1/repo1@root-1/raw | sudo -u public-inbox public-inbox-learn rm --all")
machine.fail("curl -L https://machine.${domain}/inbox/repo1/repo1@root-1/T/#u | grep 'This is a testing mail.'")
# Compact the database
machine.succeed("sudo -u public-inbox public-inbox-compact --all")
'';
})

View File

@ -153,6 +153,7 @@ buildPerlPackage rec {
--set NIX_CFLAGS_COMPILE_${stdenv.cc.suffixSalt} -I${lib.getDev libxcrypt}/include \
--prefix PATH : ${lib.makeBinPath [
git
xapian
/* for InlineC */
gnumake
stdenv.cc