mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 13:37:45 +00:00
subfinder: refactor
- add ldflags
This commit is contained in:
parent
23e43e777a
commit
b00f209e39
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user