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