terraform-docs: pin buildGoModule to 1.24

This commit is contained in:
Anthony ROUSSEL
2025-09-21 21:53:22 +02:00
parent 979665e7ed
commit cfeec4150a
+6 -2
View File
@@ -1,11 +1,15 @@
{
stdenv,
lib,
buildGoModule,
# Build fails with Go 1.25, with the following error:
# 'vendor/golang.org/x/tools/internal/tokeninternal/tokeninternal.go:64:9: invalid array length -delta * delta (constant -256 of type int64)'
# Wait for upstream to update their vendored dependencies before unpinning.
buildGo124Module,
fetchFromGitHub,
installShellFiles,
}:
buildGoModule rec {
buildGo124Module rec {
pname = "terraform-docs";
version = "0.20.0";