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=";
|
vendorSha256 = "sha256-qmuua7HXnwuy24CSqHKALqNDmXBvSIXYTVu3kaGVoeU=";
|
||||||
|
|
||||||
preBuild = ''
|
modRoot = "./v2";
|
||||||
mv v2/* .
|
subPackages = [
|
||||||
'';
|
"cmd/nuclei/"
|
||||||
|
];
|
||||||
|
|
||||||
# Test files are not part of the release tarball
|
# Test files are not part of the release tarball
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user