summary refs log tree commit diff
path: root/pkgs/tools/networking/termshark/default.nix
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-21 06:18:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-21 06:18:00 -0500
commit7c096126c7228232f31b4333720a5e10f74c0e05 (patch)
tree1a112df184c38225f8795def502ef0150051f329 /pkgs/tools/networking/termshark/default.nix
parent4e9e877ca3a3abac92f63ede7f8d91ad547f007e (diff)
downloadnixpkgs-7c096126c7228232f31b4333720a5e10f74c0e05.tar
nixpkgs-7c096126c7228232f31b4333720a5e10f74c0e05.tar.gz
nixpkgs-7c096126c7228232f31b4333720a5e10f74c0e05.tar.bz2
nixpkgs-7c096126c7228232f31b4333720a5e10f74c0e05.tar.lz
nixpkgs-7c096126c7228232f31b4333720a5e10f74c0e05.tar.xz
nixpkgs-7c096126c7228232f31b4333720a5e10f74c0e05.tar.zst
nixpkgs-7c096126c7228232f31b4333720a5e10f74c0e05.zip
termshark: fix build on darwin
Diffstat (limited to 'pkgs/tools/networking/termshark/default.nix')
-rw-r--r--pkgs/tools/networking/termshark/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/networking/termshark/default.nix b/pkgs/tools/networking/termshark/default.nix
index 35b92e0f653..a24ff25ef2b 100644
--- a/pkgs/tools/networking/termshark/default.nix
+++ b/pkgs/tools/networking/termshark/default.nix
@@ -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";