From 2d84acf590770daf33060a6573d8e9b0bbc25fb4 Mon Sep 17 00:00:00 2001 From: Dennis Date: Thu, 22 Jan 2026 09:17:55 +0100 Subject: [PATCH] fixes tmux --- modules/tmux/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tmux/default.nix b/modules/tmux/default.nix index f885ad3..7f46b6f 100644 --- a/modules/tmux/default.nix +++ b/modules/tmux/default.nix @@ -11,7 +11,7 @@ let }; nativeBuildInputs = [ pkgs.makeWrapper ]; postInstall = '' - find $target -type f -name "*.tmux" -o -name "*.sh" | while read script; do + find $target -type f -executable \( -name "*.tmux" -o -name "*.sh" \) | while read script; do wrapProgram "$script" --prefix PATH : ${ pkgs.lib.makeBinPath [ pkgs.bash @@ -32,7 +32,7 @@ let }; nativeBuildInputs = [ pkgs.makeWrapper ]; postInstall = '' - find $target -type f -name "*.tmux" -o -name "*.sh" | while read script; do + find $target -type f -executable \( -name "*.tmux" -o -name "*.sh" \) | while read script; do wrapProgram "$script" --prefix PATH : ${ pkgs.lib.makeBinPath [ pkgs.bash