mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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:
parent
e4d9386f02
commit
c2730b96dc
@ -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")
|
||||
'';
|
||||
})
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user