From 1938cc6e5582788407237bfe8b607cd1092853c4 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Wed, 1 Dec 2021 08:31:59 -0400 Subject: [PATCH] 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. --- .../version-management/git-and-tools/gitflow/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/git-and-tools/gitflow/default.nix b/pkgs/applications/version-management/git-and-tools/gitflow/default.nix index 6572b9b7fc86..ce612fcd52d3 100644 --- a/pkgs/applications/version-management/git-and-tools/gitflow/default.nix +++ b/pkgs/applications/version-management/git-and-tools/gitflow/default.nix @@ -22,7 +22,8 @@ stdenv.mkDerivation rec { postInstall = '' wrapProgram $out/bin/git-flow \ --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; {