fix(3p/josh): Add git to josh-proxy PATH

josh-proxy calls git at runtime and needs to have it available

Change-Id: Ifccc6879cc5911060c7e6681c202fe5e8c2f5440
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5269
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: wpcarro <wpcarro@gmail.com>
Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
Vincent Ambo 2022-02-09 17:12:04 +03:00 committed by clbot
parent 95780174e1
commit a438f81964

View file

@ -29,5 +29,10 @@ depot.third_party.naersk.buildPackage {
overrideMain = x: {
patches = [ ./0001-josh-proxy-Always-require-authentication-when-pushin.patch ];
nativeBuildInputs = (x.nativeBuildInputs or [ ]) ++ [ pkgs.makeWrapper ];
postInstall = ''
wrapProgram $out/bin/josh-proxy --prefix PATH : "${pkgs.git}/bin"
'';
};
}