diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-03-28 09:44:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 09:44:42 +0100 |
commit | b00f209e39eb86bb8a9b9670c671280a60566ecd (patch) | |
tree | 1153a449812f5acc4e6036a55ef62f01c902ad0c /pkgs/tools | |
parent | 23e43e777adc4fac731a7759eef960f268bfc3a5 (diff) |
subfinder: refactor
- add ldflags
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/subfinder/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/tools/networking/subfinder/default.nix b/pkgs/tools/networking/subfinder/default.nix index 049427ea7c6ea..1b4bb71f4ab5e 100644 --- a/pkgs/tools/networking/subfinder/default.nix +++ b/pkgs/tools/networking/subfinder/default.nix @@ -9,8 +9,8 @@ buildGoModule rec { src = fetchFromGitHub { owner = "projectdiscovery"; - repo = pname; - rev = "v${version}"; + repo = "subfinder"; + rev = "refs/tags/v${version}"; hash = "sha256-A9qSrgQB7AE+9S3SW1eXRGA65RfEzrjYR2XgU8e+zMk="; }; @@ -22,6 +22,11 @@ buildGoModule rec { "cmd/subfinder/" ]; + ldflags = [ + "-w" + "-s" + ]; + meta = with lib; { description = "Subdomain discovery tool"; longDescription = '' |