tries another fix

This commit is contained in:
Dennis 2026-01-22 09:43:40 +01:00
parent 2dcbd88b04
commit 4df659a676

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
let let
tmux-current-pane-hostname = pkgs.tmuxPlugins.mkTmuxPlugin { tmux-current-pane-hostname = pkgs.tmuxPlugins.mkTmuxPlugin {
pluginName = "tmux-current-pane-hostname"; pluginName = "current_pane_hostname";
version = "1.0"; version = "1.0";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "soyuka"; owner = "soyuka";
@ -10,6 +10,9 @@ let
hash = "sha256-t5jRUvwiwym6f7vfKD/D0Vu1UXpxRMCLNyBbY0nZciw="; hash = "sha256-t5jRUvwiwym6f7vfKD/D0Vu1UXpxRMCLNyBbY0nZciw=";
}; };
nativeBuildInputs = [ pkgs.makeWrapper ]; nativeBuildInputs = [ pkgs.makeWrapper ];
postPatch = ''
patchShebangs .
'';
postInstall = '' postInstall = ''
for script in $target/share/tmux-plugins/*/bin/* $target/share/tmux-plugins/*/*.tmux; do for script in $target/share/tmux-plugins/*/bin/* $target/share/tmux-plugins/*/*.tmux; do
[ -f "$script" ] && [ -x "$script" ] && wrapProgram "$script" \ [ -f "$script" ] && [ -x "$script" ] && wrapProgram "$script" \
@ -26,7 +29,7 @@ let
''; '';
}; };
tmux-compile = pkgs.tmuxPlugins.mkTmuxPlugin { tmux-compile = pkgs.tmuxPlugins.mkTmuxPlugin {
pluginName = "tmux-compile"; pluginName = "compile-mode";
version = "1.0"; version = "1.0";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "alexekdahl"; owner = "alexekdahl";
@ -35,6 +38,9 @@ let
hash = "sha256-+b3Oc4M0xhwCo7HupAJpG68ZxMC8yMNZLl6QtEQv12o="; hash = "sha256-+b3Oc4M0xhwCo7HupAJpG68ZxMC8yMNZLl6QtEQv12o=";
}; };
nativeBuildInputs = [ pkgs.makeWrapper ]; nativeBuildInputs = [ pkgs.makeWrapper ];
postPatch = ''
patchShebangs .
'';
postInstall = '' postInstall = ''
for script in $target/share/tmux-plugins/*/bin/* $target/share/tmux-plugins/*/*.tmux; do for script in $target/share/tmux-plugins/*/bin/* $target/share/tmux-plugins/*/*.tmux; do
[ -f "$script" ] && [ -x "$script" ] && wrapProgram "$script" \ [ -f "$script" ] && [ -x "$script" ] && wrapProgram "$script" \