Unverified Commit 82717b44 authored by Stanisław Pitucha's avatar Stanisław Pitucha Committed by GitHub
Browse files

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

parents aa689c67 88e1c5d4
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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";