fixes tmux

This commit is contained in:
Dennis 2026-01-22 09:17:55 +01:00
parent 29c9a156e5
commit 2d84acf590

View file

@ -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