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" \