Unverified Commit 1d51373d authored by Rick van Schijndel's avatar Rick van Schijndel Committed by GitHub
Browse files

gomacro: fix go 1.25 build error by explicitly using buildGo124Module (#475676)

parents ee6a8e38 8d88d243
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
{
  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";