From 5a1554a11533b734f0dc829dca1645607eb4ae0b Mon Sep 17 00:00:00 2001 From: Dennis Date: Thu, 22 Jan 2026 09:31:41 +0100 Subject: [PATCH] fixes more --- modules/tmux/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/tmux/default.nix b/modules/tmux/default.nix index 7f46b6f..70b453d 100644 --- a/modules/tmux/default.nix +++ b/modules/tmux/default.nix @@ -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