plandex-server: add git to path (#353390)

This commit is contained in:
Stanisław Pitucha
2024-11-05 16:20:16 +11:00
committed by GitHub
@@ -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";