about summary refs log tree commit diff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-21 05:08:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-21 05:08:00 -0500
commit7e4f82ce7f85633c0582a6306a40141dfcc67ceb (patch)
tree3a51ed53627ae009aa6bad4104d2fa2822a19feb /pkgs/tools/networking
parentcb8f82b8368a2dbd9dfa8bad1ad4f33dae55aebc (diff)
downloadnixlib-7e4f82ce7f85633c0582a6306a40141dfcc67ceb.tar
nixlib-7e4f82ce7f85633c0582a6306a40141dfcc67ceb.tar.gz
nixlib-7e4f82ce7f85633c0582a6306a40141dfcc67ceb.tar.bz2
nixlib-7e4f82ce7f85633c0582a6306a40141dfcc67ceb.tar.lz
nixlib-7e4f82ce7f85633c0582a6306a40141dfcc67ceb.tar.xz
nixlib-7e4f82ce7f85633c0582a6306a40141dfcc67ceb.tar.zst
nixlib-7e4f82ce7f85633c0582a6306a40141dfcc67ceb.zip
hey: fix build on darwin
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/hey/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/networking/hey/default.nix b/pkgs/tools/networking/hey/default.nix
index d65d5c9e3235..69cfa4526029 100644
--- a/pkgs/tools/networking/hey/default.nix
+++ b/pkgs/tools/networking/hey/default.nix
@@ -1,4 +1,4 @@
-{ buildGoModule, lib, fetchFromGitHub }:
+{ buildGoModule, stdenv, fetchFromGitHub, Security }:
 
 buildGoModule rec {
   pname = "hey";
@@ -13,7 +13,9 @@ buildGoModule rec {
 
   modSha256 = "0a00kcyagqczw0vhl8qs2xs1y8myw080y9kjs4qrcmj6kibdy55q";
 
-  meta = with lib; {
+  buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
+
+  meta = with stdenv.lib; {
     description = "HTTP load generator, ApacheBench (ab) replacement";
     homepage = "https://github.com/rakyll/hey";
     license = licenses.asl20;