mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 03:44:07 +01:00
gorm-gentool: fix go 1.25 build error by explicitly using buildGo124Module
This commit is contained in:
parent
888dec0bf6
commit
5da6bcc4e2
1 changed files with 5 additions and 2 deletions
|
|
@ -1,9 +1,12 @@
|
|||
{
|
||||
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 rec {
|
||||
buildGo124Module rec {
|
||||
pname = "gorm-gentool";
|
||||
version = "0.0.1";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue