Merge pull request #117979 from mbbx6spp/mbbx6spp/use-modRoot-instead-of-preBuild
nuclei: use declarative Go package attributes
This commit is contained in:
commit
209f782600
@ -16,9 +16,10 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "sha256-qmuua7HXnwuy24CSqHKALqNDmXBvSIXYTVu3kaGVoeU=";
|
||||
|
||||
preBuild = ''
|
||||
mv v2/* .
|
||||
'';
|
||||
modRoot = "./v2";
|
||||
subPackages = [
|
||||
"cmd/nuclei/"
|
||||
];
|
||||
|
||||
# Test files are not part of the release tarball
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user