From 4df659a67685bea2dfcd4b8d0a7ccb8be3429c82 Mon Sep 17 00:00:00 2001 From: Dennis Date: Thu, 22 Jan 2026 09:43:40 +0100 Subject: [PATCH] tries another fix --- modules/tmux/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/tmux/default.nix b/modules/tmux/default.nix index 2b0bc84..8fd4fac 100644 --- a/modules/tmux/default.nix +++ b/modules/tmux/default.nix @@ -1,7 +1,7 @@ { pkgs, ... }: let tmux-current-pane-hostname = pkgs.tmuxPlugins.mkTmuxPlugin { - pluginName = "tmux-current-pane-hostname"; + pluginName = "current_pane_hostname"; version = "1.0"; src = pkgs.fetchFromGitHub { owner = "soyuka"; @@ -10,6 +10,9 @@ let hash = "sha256-t5jRUvwiwym6f7vfKD/D0Vu1UXpxRMCLNyBbY0nZciw="; }; nativeBuildInputs = [ pkgs.makeWrapper ]; + postPatch = '' + patchShebangs . + ''; postInstall = '' for script in $target/share/tmux-plugins/*/bin/* $target/share/tmux-plugins/*/*.tmux; do [ -f "$script" ] && [ -x "$script" ] && wrapProgram "$script" \ @@ -26,7 +29,7 @@ let ''; }; tmux-compile = pkgs.tmuxPlugins.mkTmuxPlugin { - pluginName = "tmux-compile"; + pluginName = "compile-mode"; version = "1.0"; src = pkgs.fetchFromGitHub { owner = "alexekdahl"; @@ -35,6 +38,9 @@ let hash = "sha256-+b3Oc4M0xhwCo7HupAJpG68ZxMC8yMNZLl6QtEQv12o="; }; nativeBuildInputs = [ pkgs.makeWrapper ]; + postPatch = '' + patchShebangs . + ''; postInstall = '' for script in $target/share/tmux-plugins/*/bin/* $target/share/tmux-plugins/*/*.tmux; do [ -f "$script" ] && [ -x "$script" ] && wrapProgram "$script" \