subfinder: refactor

- add ldflags
This commit is contained in:
Fabian Affolter 2024-03-28 09:44:42 +01:00 committed by GitHub
parent 23e43e777a
commit b00f209e39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 2 deletions

View File

@ -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 = ''