diff --git a/pkgs/by-name/pa/pat/package.nix b/pkgs/by-name/pa/pat/package.nix index 6fe616312109..0352ef2c6cd9 100644 --- a/pkgs/by-name/pa/pat/package.nix +++ b/pkgs/by-name/pa/pat/package.nix @@ -5,6 +5,7 @@ fetchFromGitHub, libax25, installShellFiles, + fetchpatch, }: buildGoModule rec { @@ -18,6 +19,15 @@ buildGoModule rec { hash = "sha256-JlqYdsAXs3pS5i59tiel+gxQsTrn5mUs0qLzjHxGZU0="; }; + # Remove upon next release since upstream is fixed + # https://github.com/la5nta/pat/pull/449 + patches = [ + (fetchpatch { + url = "https://github.com/la5nta/pat/commit/5604eac8853216d96d49d7d9947bdc514e195538.patch"; + sha256 = "sha256-Z9uoZLlhdCslULUxGkc4ao4ptC4ImWzSrfabSA5S/PE="; + }) + ]; + vendorHash = "sha256-Z6p0wiOY5l++nch64BJWGXleBgUNecTDm+yVCnmXvtU="; ldflags = [