Skip to content

Commit 82717b4

Browse files
authored
plandex-server: add git to path (#353390)
2 parents aa689c6 + 88e1c5d commit 82717b4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkgs/by-name/pl/plandex-server/package.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
buildGoModule,
44
fetchFromGitHub,
5+
makeWrapper,
56
git,
67
}:
78
buildGoModule rec {
@@ -24,6 +25,13 @@ buildGoModule rec {
2425
cp -r migrations $out/migrations
2526
'';
2627

28+
postFixup = ''
29+
wrapProgram $out/bin/plandex-server \
30+
--prefix PATH : ${lib.makeBinPath [ git ]}
31+
'';
32+
33+
nativeBuildInputs = [ makeWrapper ];
34+
2735
nativeCheckInputs = [ git ];
2836

2937
sourceRoot = "${src.name}/app/server";

0 commit comments

Comments
 (0)