aerc: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:21:00 -05:00
parent 7db5054023
commit 7449323baf
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, buildGoModule, fetchurl { stdenv, buildGoModule, fetchurl
, go, ncurses, notmuch, scdoc , go, ncurses, notmuch, scdoc
, python3, perl, w3m, dante , python3, perl, w3m, dante, Security
}: }:
let let
@ -29,7 +29,8 @@ in buildGoModule rec {
python3.pkgs.colorama python3.pkgs.colorama
]; ];
buildInputs = [ python3 notmuch ]; buildInputs = [ python3 notmuch ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
GOFLAGS="-tags=notmuch"; GOFLAGS="-tags=notmuch";

View File

@ -553,7 +553,9 @@ in
wxGTK = wxGTK30; wxGTK = wxGTK30;
} // (config.aegisub or {})); } // (config.aegisub or {}));
aerc = callPackage ../applications/networking/mailreaders/aerc { }; aerc = callPackage ../applications/networking/mailreaders/aerc {
inherit (darwin.apple_sdk.frameworks) Security;
};
aerospike = callPackage ../servers/nosql/aerospike { }; aerospike = callPackage ../servers/nosql/aerospike { };