From 00078c2aa3cd6e0c08e4299bc60f7e50a9b4c950 Mon Sep 17 00:00:00 2001 From: Dennis Date: Thu, 22 Jan 2026 09:33:43 +0100 Subject: [PATCH] more fixes --- modules/tmux/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/tmux/default.nix b/modules/tmux/default.nix index 70b453d..57ce034 100644 --- a/modules/tmux/default.nix +++ b/modules/tmux/default.nix @@ -11,9 +11,9 @@ let }; nativeBuildInputs = [ pkgs.makeWrapper ]; postInstall = '' - chmod +x $target/share/tmux-plugins/tmux-current-pane-hostname/*.tmux + find $target -type f -name "*.tmux" -exec chmod +x {} \; 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 : ${ pkgs.lib.makeBinPath [ pkgs.bash @@ -34,9 +34,9 @@ let }; nativeBuildInputs = [ pkgs.makeWrapper ]; postInstall = '' - chmod +x $target/share/tmux-plugins/tmux-compile/*.tmux + find $target -type f -name "*.tmux" -exec chmod +x {} \; 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 : ${ pkgs.lib.makeBinPath [ pkgs.bash