diff --git a/pkgs/servers/trezord/default.nix b/pkgs/servers/trezord/default.nix index 0bfabf974e6e..7b4ea22faa13 100644 --- a/pkgs/servers/trezord/default.nix +++ b/pkgs/servers/trezord/default.nix @@ -25,10 +25,16 @@ buildGoModule rec { vendorHash = "sha256-wXgAmZEXdM4FcMCQbAs+ydXshCAMu7nl/yVv/3sqaXE="; patches = [ + # fix build with Go 1.21 - https://github.com/trezor/trezord-go/pull/300 (fetchpatch { url = "https://github.com/trezor/trezord-go/commit/616473d53a8ae49f1099e36ab05a2981a08fa606.patch"; hash = "sha256-yKTwgqWr4L6XEPV85A6D1wpRdpef8hkIbl4LrRmOyuo="; }) + # fix build with Go 1.24 - https://github.com/trezor/trezord-go/pull/305 + (fetchpatch { + url = "https://github.com/trezor/trezord-go/commit/8ca9600d176bebf6cd2ad93ee9525a04059ee735.patch"; + hash = "sha256-jW+x/FBFEIlRGTDHWF2Oj+05KmFLtFDGJwfYFx7yTv4="; + }) ]; propagatedBuildInputs =