summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-01-02 14:39:09 -0600
committerShea Levy <shea@shealevy.com>2015-01-03 07:35:14 -0500
commit2ae2c92b131bfeff522a8e6dd3f10141c4e79f56 (patch)
tree6ed8fe874ea900a022293bc9ad31de2628594a17 /pkgs/applications
parent0d1a16d48f7d48195f2b993a5d2613e171c60c58 (diff)
downloadnixlib-2ae2c92b131bfeff522a8e6dd3f10141c4e79f56.tar
nixlib-2ae2c92b131bfeff522a8e6dd3f10141c4e79f56.tar.gz
nixlib-2ae2c92b131bfeff522a8e6dd3f10141c4e79f56.tar.bz2
nixlib-2ae2c92b131bfeff522a8e6dd3f10141c4e79f56.tar.lz
nixlib-2ae2c92b131bfeff522a8e6dd3f10141c4e79f56.tar.xz
nixlib-2ae2c92b131bfeff522a8e6dd3f10141c4e79f56.tar.zst
nixlib-2ae2c92b131bfeff522a8e6dd3f10141c4e79f56.zip
notmuch: remove dependency on gdb on Darwin
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/networking/mailreaders/notmuch/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix
index a5af880728a1..43e04ed8a396 100644
--- a/pkgs/applications/networking/mailreaders/notmuch/default.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch/default.nix
@@ -12,8 +12,9 @@ stdenv.mkDerivation rec {
     sha256 = "1szf6c44g209pcjq5nvfhlp3nzcm3lrcwv4spsxmwy13hiaccvrr";
   };
 
-  buildInputs = [ bash emacs gdb glib gmime gnupg pkgconfig talloc xapian sphinx python ]
-    ++ stdenv.lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
+  buildInputs = [ bash emacs glib gmime gnupg pkgconfig talloc xapian sphinx python ]
+    ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames
+    ++ stdenv.lib.optional (!stdenv.isDarwin) gdb;
 
   patchPhase = ''
     find test -type f -exec \