diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 06:18:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 06:18:00 -0500 |
commit | 7c096126c7228232f31b4333720a5e10f74c0e05 (patch) | |
tree | 1a112df184c38225f8795def502ef0150051f329 /pkgs/tools/networking | |
parent | 4e9e877ca3a3abac92f63ede7f8d91ad547f007e (diff) | |
download | nixlib-7c096126c7228232f31b4333720a5e10f74c0e05.tar nixlib-7c096126c7228232f31b4333720a5e10f74c0e05.tar.gz nixlib-7c096126c7228232f31b4333720a5e10f74c0e05.tar.bz2 nixlib-7c096126c7228232f31b4333720a5e10f74c0e05.tar.lz nixlib-7c096126c7228232f31b4333720a5e10f74c0e05.tar.xz nixlib-7c096126c7228232f31b4333720a5e10f74c0e05.tar.zst nixlib-7c096126c7228232f31b4333720a5e10f74c0e05.zip |
termshark: fix build on darwin
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/termshark/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/networking/termshark/default.nix b/pkgs/tools/networking/termshark/default.nix index 35b92e0f653b..a24ff25ef2ba 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"; |