more fixes
This commit is contained in:
parent
00078c2aa3
commit
2dcbd88b04
1 changed files with 22 additions and 20 deletions
|
|
@ -11,15 +11,17 @@ let
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
find $target -type f -name "*.tmux" -exec chmod +x {} \;
|
for script in $target/share/tmux-plugins/*/bin/* $target/share/tmux-plugins/*/*.tmux; do
|
||||||
patchShebangs $target
|
[ -f "$script" ] && [ -x "$script" ] && wrapProgram "$script" \
|
||||||
find $target -type f -name "*.tmux" | while IFS= read -r script; do
|
--prefix PATH : ${
|
||||||
wrapProgram "$script" --prefix PATH : ${
|
pkgs.lib.makeBinPath [
|
||||||
pkgs.lib.makeBinPath [
|
pkgs.bash
|
||||||
pkgs.bash
|
pkgs.coreutils
|
||||||
pkgs.coreutils
|
pkgs.tmux
|
||||||
]
|
pkgs.gnused
|
||||||
}
|
pkgs.gnugrep
|
||||||
|
]
|
||||||
|
}
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
@ -34,17 +36,17 @@ let
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
find $target -type f -name "*.tmux" -exec chmod +x {} \;
|
for script in $target/share/tmux-plugins/*/bin/* $target/share/tmux-plugins/*/*.tmux; do
|
||||||
patchShebangs $target
|
[ -f "$script" ] && [ -x "$script" ] && wrapProgram "$script" \
|
||||||
find $target -type f -name "*.tmux" | while IFS= read -r script; do
|
--prefix PATH : ${
|
||||||
wrapProgram "$script" --prefix PATH : ${
|
pkgs.lib.makeBinPath [
|
||||||
pkgs.lib.makeBinPath [
|
pkgs.bash
|
||||||
pkgs.bash
|
pkgs.coreutils
|
||||||
pkgs.coreutils
|
pkgs.tmux
|
||||||
pkgs.gnugrep
|
pkgs.gnused
|
||||||
pkgs.gnused
|
pkgs.gnugrep
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue