summary refs log tree commit diff
path: root/pkgs/tools/security/gobuster
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-21 05:20:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-21 05:20:00 -0500
commit2f022c86f2b374fa9c930a3c3f0dc36e0925dab7 (patch)
tree7b0dd6a9eaca36aefa26b50b4f1d8b2bea8ec611 /pkgs/tools/security/gobuster
parent68705eee2e1878367f58205f0dd4281a16173741 (diff)
downloadnixpkgs-2f022c86f2b374fa9c930a3c3f0dc36e0925dab7.tar
nixpkgs-2f022c86f2b374fa9c930a3c3f0dc36e0925dab7.tar.gz
nixpkgs-2f022c86f2b374fa9c930a3c3f0dc36e0925dab7.tar.bz2
nixpkgs-2f022c86f2b374fa9c930a3c3f0dc36e0925dab7.tar.lz
nixpkgs-2f022c86f2b374fa9c930a3c3f0dc36e0925dab7.tar.xz
nixpkgs-2f022c86f2b374fa9c930a3c3f0dc36e0925dab7.tar.zst
nixpkgs-2f022c86f2b374fa9c930a3c3f0dc36e0925dab7.zip
gobuster: fix build on darwin
Diffstat (limited to 'pkgs/tools/security/gobuster')
-rw-r--r--pkgs/tools/security/gobuster/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/tools/security/gobuster/default.nix b/pkgs/tools/security/gobuster/default.nix
index c3426bee965..c9348b2f23a 100644
--- a/pkgs/tools/security/gobuster/default.nix
+++ b/pkgs/tools/security/gobuster/default.nix
@@ -1,6 +1,7 @@
 { buildGoModule
 , fetchFromGitHub
-, lib
+, stdenv
+, Security
 }:
 
 buildGoModule rec {
@@ -16,7 +17,9 @@ buildGoModule rec {
 
   modSha256 = "0jq0z5s05vqdvq7v1gdjwlqqwbl1j2rv9f16k52idl50vdiqviql";
 
-  meta = with lib; {
+  buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
+
+  meta = with stdenv.lib; {
     description = "Tool used to brute-force URIs, DNS subdomains, Virtual Host names on target web servers";
     homepage = "https://github.com/OJ/gobuster";
     license = licenses.asl20;