fixes more

This commit is contained in:
Dennis 2026-01-22 09:31:41 +01:00
parent 2d84acf590
commit 5a1554a115

View file

@ -11,7 +11,9 @@ let
};
nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = ''
find $target -type f -executable \( -name "*.tmux" -o -name "*.sh" \) | while read script; do
chmod +x $target/share/tmux-plugins/tmux-current-pane-hostname/*.tmux
patchShebangs $target
for script in $target/share/tmux-plugins/tmux-current-pane-hostname/*.tmux; do
wrapProgram "$script" --prefix PATH : ${
pkgs.lib.makeBinPath [
pkgs.bash
@ -32,7 +34,9 @@ let
};
nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = ''
find $target -type f -executable \( -name "*.tmux" -o -name "*.sh" \) | while read script; do
chmod +x $target/share/tmux-plugins/tmux-compile/*.tmux
patchShebangs $target
for script in $target/share/tmux-plugins/tmux-compile/*.tmux; do
wrapProgram "$script" --prefix PATH : ${
pkgs.lib.makeBinPath [
pkgs.bash