about summary refs log tree commit diff
path: root/pkgs/tools/misc/websocat
diff options
context:
space:
mode:
authorVäinö Järvelä <vaino@jarve.la>2019-03-19 10:21:18 +0200
committerAustin Seipp <aseipp@pobox.com>2019-03-27 14:00:09 -0500
commitd984875aff3db0da17b36b1b75dd0c3277732060 (patch)
tree84095cc5974cb296aaa92fdfe00afe5402b6e76b /pkgs/tools/misc/websocat
parent315643e12b5c6ee7e7fdbb624b291858dc197500 (diff)
websocat: Fix on macOS
Diffstat (limited to 'pkgs/tools/misc/websocat')
-rw-r--r--pkgs/tools/misc/websocat/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/misc/websocat/default.nix b/pkgs/tools/misc/websocat/default.nix
index 2e91c5c3b63a5..dc0280846854f 100644
--- a/pkgs/tools/misc/websocat/default.nix
+++ b/pkgs/tools/misc/websocat/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, rustPlatform
+{ stdenv, fetchFromGitHub, rustPlatform, Security
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -14,6 +14,8 @@ rustPlatform.buildRustPackage rec {
 
   cargoSha256 = "0vkb3jmyb3zg3xiig5vlxhh74m27rvqbkgrwdqzprifn9vcj17ir";
 
+  buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
+
   meta = with stdenv.lib; {
     description = "Command-line client for WebSockets (like netcat/socat)";
     homepage    = https://github.com/vi/websocat;