plandex-server: add git to path

When running `plandex-server` as a service it will panic as it's
unable to find git. Add it to the programs PATH.

+8
+8
pkgs/by-name/pl/plandex-server/package.nix
··· 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 git, 6 }: 7 buildGoModule rec { ··· 23 postInstall = '' 24 cp -r migrations $out/migrations 25 ''; 26 27 nativeCheckInputs = [ git ]; 28
··· 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 + makeWrapper, 6 git, 7 }: 8 buildGoModule rec { ··· 24 postInstall = '' 25 cp -r migrations $out/migrations 26 ''; 27 + 28 + postFixup = '' 29 + wrapProgram $out/bin/plandex-server \ 30 + --prefix PATH : ${lib.makeBinPath [ git ]} 31 + ''; 32 + 33 + nativeBuildInputs = [ makeWrapper ]; 34 35 nativeCheckInputs = [ git ]; 36