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:
parent
95780174e1
commit
a438f81964
1 changed files with 5 additions and 0 deletions
5
third_party/josh/default.nix
vendored
5
third_party/josh/default.nix
vendored
|
@ -29,5 +29,10 @@ depot.third_party.naersk.buildPackage {
|
||||||
|
|
||||||
overrideMain = x: {
|
overrideMain = x: {
|
||||||
patches = [ ./0001-josh-proxy-Always-require-authentication-when-pushin.patch ];
|
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"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue