summary refs log tree commit diff
diff options
context:
space:
mode:
authorxeji <36407913+xeji@users.noreply.github.com>2018-08-21 18:50:59 +0200
committerGitHub <noreply@github.com>2018-08-21 18:50:59 +0200
commit3fb5440074cac7433fd6f75a5e5d0f2859eb0207 (patch)
treed468a428055d06a89a1d9c9d59e0dc6f4f2a9cc3
parent73d348c8eb161984e69e8755ea798dfce83324fe (diff)
downloadnixlib-3fb5440074cac7433fd6f75a5e5d0f2859eb0207.tar
nixlib-3fb5440074cac7433fd6f75a5e5d0f2859eb0207.tar.gz
nixlib-3fb5440074cac7433fd6f75a5e5d0f2859eb0207.tar.bz2
nixlib-3fb5440074cac7433fd6f75a5e5d0f2859eb0207.tar.lz
nixlib-3fb5440074cac7433fd6f75a5e5d0f2859eb0207.tar.xz
nixlib-3fb5440074cac7433fd6f75a5e5d0f2859eb0207.tar.zst
nixlib-3fb5440074cac7433fd6f75a5e5d0f2859eb0207.zip
xapian_1_2_22: fix build (#45424)
apply notmuch patch conditionally for 1.4.7 only
-rw-r--r--pkgs/development/libraries/xapian/default.nix2
1 files changed, 1 insertions, 1 deletions
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