gitflow: embed path to coreutils into the wrapper
gitflow is shell script and does not work without common tools (e.g readlink) in PATH or with busybox instead of coreutils. Busybox version of readlink does not support "-e" option. Probably it can be replaced with "-f", but I didn't check.
This commit is contained in:
parent
660a7744c6
commit
1938cc6e55
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/git-flow \
|
wrapProgram $out/bin/git-flow \
|
||||||
--set FLAGS_GETOPT_CMD ${pkgs.getopt}/bin/getopt \
|
--set FLAGS_GETOPT_CMD ${pkgs.getopt}/bin/getopt \
|
||||||
--suffix PATH : ${pkgs.git}/bin
|
--suffix PATH : ${pkgs.git}/bin \
|
||||||
|
--prefix PATH : ${pkgs.coreutils}/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue