Skip to content

Commit 4da70bd

Browse files
committed
trezord: fix build with Go 1.24
1 parent 3ae3f55 commit 4da70bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/servers/trezord/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,16 @@ buildGoModule rec {
2525
vendorHash = "sha256-wXgAmZEXdM4FcMCQbAs+ydXshCAMu7nl/yVv/3sqaXE=";
2626

2727
patches = [
28+
# fix build with Go 1.21 - https://github.com/trezor/trezord-go/pull/300
2829
(fetchpatch {
2930
url = "https://github.com/trezor/trezord-go/commit/616473d53a8ae49f1099e36ab05a2981a08fa606.patch";
3031
hash = "sha256-yKTwgqWr4L6XEPV85A6D1wpRdpef8hkIbl4LrRmOyuo=";
3132
})
33+
# fix build with Go 1.24 - https://github.com/trezor/trezord-go/pull/305
34+
(fetchpatch {
35+
url = "https://github.com/trezor/trezord-go/commit/8ca9600d176bebf6cd2ad93ee9525a04059ee735.patch";
36+
hash = "sha256-jW+x/FBFEIlRGTDHWF2Oj+05KmFLtFDGJwfYFx7yTv4=";
37+
})
3238
];
3339

3440
propagatedBuildInputs =

0 commit comments

Comments
 (0)