diff options
author | Paul Meyer <49727155+katexochen@users.noreply.github.com> | 2024-03-10 23:35:21 +0100 |
---|---|---|
committer | Paul Meyer <49727155+katexochen@users.noreply.github.com> | 2024-03-19 11:10:27 +0100 |
commit | 0dda0db85289eacc95c86c4c43ac1fd05e4bbe4e (patch) | |
tree | e6ce760f39f08aa7673e72392f82250f2cac4bb2 /pkgs/servers/trezord | |
parent | 8a1475afca8d81e140072f47f6e3a7474f63278b (diff) |
trezord: unpin Go version
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Diffstat (limited to 'pkgs/servers/trezord')
-rw-r--r-- | pkgs/servers/trezord/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/servers/trezord/default.nix b/pkgs/servers/trezord/default.nix index 5761f84c29e74..9938658259d57 100644 --- a/pkgs/servers/trezord/default.nix +++ b/pkgs/servers/trezord/default.nix @@ -2,6 +2,7 @@ , stdenv , buildGoModule , fetchFromGitHub +, fetchpatch , trezor-udev-rules , AppKit }: @@ -21,6 +22,13 @@ buildGoModule rec { vendorHash = "sha256-wXgAmZEXdM4FcMCQbAs+ydXshCAMu7nl/yVv/3sqaXE="; + patches = [ + (fetchpatch { + url = "https://github.com/trezor/trezord-go/commit/616473d53a8ae49f1099e36ab05a2981a08fa606.patch"; + hash = "sha256-yKTwgqWr4L6XEPV85A6D1wpRdpef8hkIbl4LrRmOyuo="; + }) + ]; + propagatedBuildInputs = lib.optionals stdenv.isLinux [ trezor-udev-rules ] ++ lib.optionals stdenv.isDarwin [ AppKit ]; |