more fixes

This commit is contained in:
Dennis 2026-01-22 09:33:43 +01:00
parent 5a1554a115
commit 00078c2aa3

View file

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