gomacro: fix go 1.25 build error by explicitly using buildGo124Module

This commit is contained in:
Sigmanificient
2025-12-31 18:19:20 +01:00
parent 888dec0bf6
commit 8d88d243e0
+5 -2
View File
@@ -1,10 +1,13 @@
{
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,
}:
buildGoModule {
buildGo124Module {
pname = "gomacro";
version = "2.7-unstable-2024-01-07";