trezord: fix build with Go 1.24

This commit is contained in:
Pavol Rusnak 2025-03-13 21:02:28 +01:00
parent 3ae3f55372
commit 4da70bdbb2
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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 =