nuclei: add ldflags
This commit is contained in:
parent
01be89c5c9
commit
a1523e9b9f
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue