From 764467115d113f87a1a665ca9aa7119a8830704b Mon Sep 17 00:00:00 2001 From: Robert James Hernandez Date: Sat, 26 Oct 2024 19:18:03 +0000 Subject: [PATCH] pat: patch creation of configdir in prehook Include patch that was merged upstream until next release: https://github.com/la5nta/pat/pull/449 --- pkgs/by-name/pa/pat/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/pa/pat/package.nix b/pkgs/by-name/pa/pat/package.nix index 6fe6163121093..0352ef2c6cd98 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 = [