diff --git a/pkgs/by-name/go/gomacro/package.nix b/pkgs/by-name/go/gomacro/package.nix index fb3cbeb8999c..6f41686bee14 100644 --- a/pkgs/by-name/go/gomacro/package.nix +++ b/pkgs/by-name/go/gomacro/package.nix @@ -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";