diff --git a/pkgs/by-name/pl/plandex-server/package.nix b/pkgs/by-name/pl/plandex-server/package.nix index a1d0c846eb58..4511a3a518ff 100644 --- a/pkgs/by-name/pl/plandex-server/package.nix +++ b/pkgs/by-name/pl/plandex-server/package.nix @@ -2,6 +2,7 @@ lib, buildGoModule, fetchFromGitHub, + makeWrapper, git, }: buildGoModule rec { @@ -24,6 +25,13 @@ buildGoModule rec { cp -r migrations $out/migrations ''; + postFixup = '' + wrapProgram $out/bin/plandex-server \ + --prefix PATH : ${lib.makeBinPath [ git ]} + ''; + + nativeBuildInputs = [ makeWrapper ]; + nativeCheckInputs = [ git ]; sourceRoot = "${src.name}/app/server";