notmuch: remove dependency on gdb on Darwin

This commit is contained in:
John Wiegley 2015-01-02 14:39:09 -06:00 committed by Shea Levy
parent 0d1a16d48f
commit 2ae2c92b13

View File

@ -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 \