about summary refs log tree commit diff
path: root/pkgs/tools/networking/hey/default.nix
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-03-24 01:51:13 +0100
committerJan Tojnar <jtojnar@gmail.com>2020-03-24 01:51:13 +0100
commitcbd504c0ae8eb3be7cbf0e28eee3d85c9d6b7ce4 (patch)
tree6534f00bf85774daac26bb0d592f370ee9fb59b7 /pkgs/tools/networking/hey/default.nix
parent9fd82b3e7e99678dab327332bcffec4aad01d22b (diff)
parent0bfd0187dafe3f597355e6be16b7b9a5f4b90376 (diff)
downloadnixlib-cbd504c0ae8eb3be7cbf0e28eee3d85c9d6b7ce4.tar
nixlib-cbd504c0ae8eb3be7cbf0e28eee3d85c9d6b7ce4.tar.gz
nixlib-cbd504c0ae8eb3be7cbf0e28eee3d85c9d6b7ce4.tar.bz2
nixlib-cbd504c0ae8eb3be7cbf0e28eee3d85c9d6b7ce4.tar.lz
nixlib-cbd504c0ae8eb3be7cbf0e28eee3d85c9d6b7ce4.tar.xz
nixlib-cbd504c0ae8eb3be7cbf0e28eee3d85c9d6b7ce4.tar.zst
nixlib-cbd504c0ae8eb3be7cbf0e28eee3d85c9d6b7ce4.zip
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/tools/networking/hey/default.nix')
-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;