From 55bb26cb734ec367beb80c8e95f24d4b94988aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sat, 29 Jun 2024 12:32:52 +0200 Subject: [PATCH] tmux: apply upstream sixel patch This fixes the issue where tmux would exit unexpectedly, when using neovim 0.10.0 over SSH. Upstream issues: https://github.com/tmux/tmux/issues/3983 https://github.com/neovim/neovim/issues/28082 --- pkgs/tools/misc/tmux/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/misc/tmux/default.nix b/pkgs/tools/misc/tmux/default.nix index dec0e1b45335..aa72ecb5d980 100644 --- a/pkgs/tools/misc/tmux/default.nix +++ b/pkgs/tools/misc/tmux/default.nix @@ -48,6 +48,12 @@ stdenv.mkDerivation (finalAttrs: { url = "https://github.com/tmux/tmux/commit/4f5a944ae3e8f7a230054b6c0b26f423fa738e71.patch"; hash = "sha256-HlUeU5ZicPe7Ya8A1HpunxfVOE2BF6jOHq3ZqTuU5RE="; }) + # https://github.com/tmux/tmux/issues/3983 + # fix tmux crashing when neovim is used in a ssh session + (fetchpatch { + url = "https://github.com/tmux/tmux/commit/aa17f0e0c1c8b3f1d6fc8617613c74f07de66fae.patch"; + hash = "sha256-jhWGnC9tsGqTTA5tU+i4G3wlwZ7HGz4P0UHl17dVRU4="; + }) ]; nativeBuildInputs = [