Unverified Commit aae42bee authored by Pavol Rusnak's avatar Pavol Rusnak Committed by GitHub
Browse files

trezord: fix build with Go 1.24 (#389628)

parents b97c6f47 4da70bdb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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 =