From 2389ca1a05e0ae50f184343a6bcb325eb3fde3d9 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Tue, 27 May 2025 20:10:51 +0200 Subject: [PATCH] nixos/shell: patch kitty for `copy-ansi-to-clipboard` fix https://github.com/kovidgoyal/kitty/issues/8682 --- nixos/modules/shell.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nixos/modules/shell.nix b/nixos/modules/shell.nix index 891e3b9..21d7088 100644 --- a/nixos/modules/shell.nix +++ b/nixos/modules/shell.nix @@ -15,7 +15,17 @@ in aliasDrag ranger-git ripgrep - kitty + (kitty.overrideAttrs (superAttrs: { + patches = superAttrs.patches or [] ++ [ + (fetchpatch { + url = "https://github.com/AmirulAndalib/kitty/commit/61fd8c4003b361503160424cbed1960153f40290.patch"; + excludes = lib.map lib.escapeRegex [ + "docs/changelog.rst" + ]; + hash = "sha256-TqO/pLRkxN+Mz4nfNfTntGpPoy6OgbtAGmdohG/1BFs="; + }) + ]; + })) zoxide ]) ++ [ (