zlint: exclude packages (#423980)

This commit is contained in:
Arthur Gautier 2025-07-10 17:05:15 +02:00 committed by GitHub
commit 2c1d84733e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,6 @@
buildGoModule,
fetchFromGitHub,
testers,
zlint,
}:
buildGoModule (finalAttrs: {
@ -21,13 +20,11 @@ buildGoModule (finalAttrs: {
vendorHash = "sha256-AdJxcJ/qjY6lzoK4PGNjR+7lYAypgCOk6Nt5sqP+ayA=";
postPatch = ''
# Remove a package which is not declared in go.mod.
rm -rf v3/cmd/genTestCerts
rm -rf v3/cmd/gen_test_crl
'';
excludedPackages = [ "lints" ];
excludedPackages = [
"cmd/genTestCerts"
"cmd/gen_test_crl"
"lints"
];
ldflags = [
"-s"
@ -36,8 +33,7 @@ buildGoModule (finalAttrs: {
];
passthru.tests.version = testers.testVersion {
package = zlint;
command = "zlint -version";
package = finalAttrs.finalPackage;
};
meta = {