Skip to content

Commit

Permalink
muchsync: set XAPIAN_CONFIG to fix cross compilation
Browse files Browse the repository at this point in the history
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'.
```
  • Loading branch information
Adam Joseph committed Jun 12, 2023
1 parent c8cb1f7 commit fa9ebf6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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/";
Expand Down

0 comments on commit fa9ebf6

Please sign in to comment.