mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03: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
2 changed files with 4 additions and 0 deletions
|
@ -223,5 +223,8 @@ in
|
||||||
# require to use --all
|
# 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.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.'")
|
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 \
|
--set NIX_CFLAGS_COMPILE_${stdenv.cc.suffixSalt} -I${lib.getDev libxcrypt}/include \
|
||||||
--prefix PATH : ${lib.makeBinPath [
|
--prefix PATH : ${lib.makeBinPath [
|
||||||
git
|
git
|
||||||
|
xapian
|
||||||
/* for InlineC */
|
/* for InlineC */
|
||||||
gnumake
|
gnumake
|
||||||
stdenv.cc
|
stdenv.cc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue