trufflehog: fix version

This commit is contained in:
figsoda 2023-04-25 10:57:22 -04:00
parent e6b4a6b6e5
commit d921f57b57

View File

@ -16,6 +16,12 @@ buildGoModule rec {
vendorHash = "sha256-NnYQGbG4R/Ar0goOtymuohHO36t3UQhjg53ufneCFxQ=";
ldflags = [
"-s"
"-w"
"-X=github.com/trufflesecurity/trufflehog/v3/pkg/version.BuildVersion=${version}"
];
# Test cases run git clone and require network access
doCheck = false;