fixes more
This commit is contained in:
parent
2d84acf590
commit
5a1554a115
1 changed files with 6 additions and 2 deletions
|
|
@ -11,7 +11,9 @@ let
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
postInstall = ''
|
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 : ${
|
wrapProgram "$script" --prefix PATH : ${
|
||||||
pkgs.lib.makeBinPath [
|
pkgs.lib.makeBinPath [
|
||||||
pkgs.bash
|
pkgs.bash
|
||||||
|
|
@ -32,7 +34,9 @@ let
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
postInstall = ''
|
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 : ${
|
wrapProgram "$script" --prefix PATH : ${
|
||||||
pkgs.lib.makeBinPath [
|
pkgs.lib.makeBinPath [
|
||||||
pkgs.bash
|
pkgs.bash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue