diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:53:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:53:00 -0500 |
commit | fda0e24e5879b0cf4fb4ce54dda615f474a1c52f (patch) | |
tree | 5a56f1518f832a62dbbb9bced7be20f3b1cd9b56 /pkgs/applications/networking/websocketd | |
parent | 0acc5e11b2bf0550261b11555ded92f7c7171f0c (diff) |
websocketd: fix build on darwin
Diffstat (limited to 'pkgs/applications/networking/websocketd')
-rw-r--r-- | pkgs/applications/networking/websocketd/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/websocketd/default.nix b/pkgs/applications/networking/websocketd/default.nix index 4160e70b9c444..8d0e92488dbb8 100644 --- a/pkgs/applications/networking/websocketd/default.nix +++ b/pkgs/applications/networking/websocketd/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ stdenv, buildGoModule, fetchFromGitHub, Security }: buildGoModule rec { pname = "websocketd"; @@ -13,7 +13,9 @@ buildGoModule rec { modSha256 = "18hamj557ln8k3vmvcrpvnydjr1dy7zi9490iacwdldw5vp870xs"; - meta = with lib; { + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; + + meta = with stdenv.lib; { description = "Turn any program that uses STDIN/STDOUT into a WebSocket server"; homepage = "http://websocketd.com/"; maintainers = [ maintainers.bjornfor ]; |