From 3fb5440074cac7433fd6f75a5e5d0f2859eb0207 Mon Sep 17 00:00:00 2001 From: xeji <36407913+xeji@users.noreply.github.com> Date: Tue, 21 Aug 2018 18:50:59 +0200 Subject: [PATCH] xapian_1_2_22: fix build (#45424) apply notmuch patch conditionally for 1.4.7 only --- pkgs/development/libraries/xapian/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/xapian/default.nix b/pkgs/development/libraries/xapian/default.nix index 8c0d065247b4..f93f7ed87460 100644 --- a/pkgs/development/libraries/xapian/default.nix +++ b/pkgs/development/libraries/xapian/default.nix @@ -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