muchsync: set XAPIAN_CONFIG to fix cross compilation

When cross compiling, muchsync needs to be given an explicit
location for Xapian; this commit does that.  Without it, cross
compilation fails with:

```
> checking for xapian-config... no
> configure: error: Cannot find xapian-config
For full logs, run 'nix log /nix/store/gajxjvvi8mizb1zgahrnlcwpw2lapky7-muchsync-aarch64-unknown-linux-gnu-6.drv'.
```
This commit is contained in:
Adam Joseph
2023-06-12 03:10:22 -07:00
parent c8cb1f7a2d
commit fa9ebf60da
@@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ notmuch openssl sqlite xapian zlib ];
XAPIAN_CONFIG = "${xapian}/bin/xapian-config";
meta = {
description = "Synchronize maildirs and notmuch databases";
homepage = "http://www.muchsync.org/";