termshark: fix build on darwin

This commit is contained in:
Mario Rodas
2020-03-21 06:18:00 -05:00
parent 4e9e877ca3
commit 7c096126c7
2 changed files with 6 additions and 3 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeWrapper, buildGoModule, wireshark-cli }:
{ stdenv, fetchFromGitHub, makeWrapper, buildGoModule, wireshark-cli, Security }:
buildGoModule rec {
pname = "termshark";
@@ -12,7 +12,8 @@ buildGoModule rec {
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ wireshark-cli ];
buildInputs = [ wireshark-cli ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
modSha256 = "0lp4gky76di7as78421p3lsirfr7mic3z204ildvj6gf6d15svpr";