Merge pull request #117979 from mbbx6spp/mbbx6spp/use-modRoot-instead-of-preBuild

nuclei: use declarative Go package attributes
This commit is contained in:
Sandro 2021-03-30 10:44:50 +02:00 committed by GitHub
commit 209f782600
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;