trezord: fix build with Go 1.24 (#389628)

This commit is contained in:
Pavol Rusnak
2025-03-13 23:05:00 +01:00
committed by GitHub
+6
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 =