From 4da70bdbb2324b93e233c2479657400fe7b97f9f Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 13 Mar 2025 21:02:28 +0100 Subject: [PATCH] trezord: fix build with Go 1.24 --- pkgs/servers/trezord/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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 =