grype: unbreak build

This commit is contained in:
sveitser 2024-05-27 17:58:30 +02:00
parent 48d0c1cdfc
commit 9d97550a55
No known key found for this signature in database
GPG Key ID: 584D5AC88FDC1991

View File

@ -93,6 +93,11 @@ buildGoModule rec {
substituteInPlace grype/presenter/sarif/presenter_test.go \
--replace-fail "Test_SarifIsValid" "SkipTest_SarifIsValid"
# May fail on NixOS, probably due bug in how syft handles tmpfs.
# See https://github.com/anchore/grype/issues/1822
substituteInPlace grype/distro/distro_test.go \
--replace-fail "Test_NewDistroFromRelease_Coverage" "SkipTest_NewDistroFromRelease_Coverage"
# segfault
rm grype/db/v5/namespace/cpe/namespace_test.go
'';