From 2ae2c92b131bfeff522a8e6dd3f10141c4e79f56 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 2 Jan 2015 14:39:09 -0600 Subject: [PATCH] notmuch: remove dependency on gdb on Darwin --- pkgs/applications/networking/mailreaders/notmuch/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix index a5af880728a..43e04ed8a39 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 \