xapian_1_2_22: fix build (#45424)

apply notmuch patch conditionally for 1.4.7 only
This commit is contained in:
xeji 2018-08-21 18:50:59 +02:00 committed by GitHub
parent 73d348c8eb
commit 3fb5440074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ let
inherit sha256;
};
patches = [
patches = stdenv.lib.optional (version == "1.4.7") [
# fix notmuch build, see https://notmuchmail.org/faq/#index12h2
# cannot fetchpatch this because base directory differs
# TODO: remove on next xapian update