nuclei: add ldflags

This commit is contained in:
Fabian Affolter
2024-01-11 10:34:33 +01:00
committed by GitHub
parent 01be89c5c9
commit a1523e9b9f
+6 -1
View File
@@ -9,7 +9,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = pname;
repo = "nuclei";
rev = "refs/tags/v${version}";
hash = "sha256-U6FEVlW7fr2COyPASja42M3hJX6eAo4pH3kyl9APfG0=";
};
@@ -20,6 +20,11 @@ buildGoModule rec {
"cmd/nuclei/"
];
ldflags = [
"-w"
"-s"
];
# Test files are not part of the release tarball
doCheck = false;