tlsx: add ldflags

This commit is contained in:
Fabian Affolter 2024-01-28 16:10:48 +01:00 committed by GitHub
parent e41b1efb89
commit da096af4db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,13 +9,18 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = pname;
rev = "v${version}";
repo = "tlsx";
rev = "refs/tags/v${version}";
hash = "sha256-FF5/STjf8joyJM6qPds1wFeRfncSamy/wWfNRZcG5kc=";
};
vendorHash = "sha256-sJravmpvwOSZiVNWFUTLlTA4xk6drItDj4JzR8JNrOo=";
ldflags = [
"-s"
"-w"
];
# Tests require network access
doCheck = false;