Skip to content

Commit

Permalink
plandex-server: add git to path (#353390)
Browse files Browse the repository at this point in the history
  • Loading branch information
viraptor authored Nov 5, 2024
2 parents aa689c6 + 88e1c5d commit 82717b4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/by-name/pl/plandex-server/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
makeWrapper,
git,
}:
buildGoModule rec {
Expand All @@ -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";
Expand Down

0 comments on commit 82717b4

Please sign in to comment.