about summary refs log tree commit diff
path: root/third_party/josh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/josh')
-rw-r--r--third_party/josh/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/josh/default.nix b/third_party/josh/default.nix
index 70786a2648cf..c82f91f80c94 100644
--- a/third_party/josh/default.nix
+++ b/third_party/josh/default.nix
@@ -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"
+    '';
   };
 }