diff options
-rw-r--r-- | third_party/josh/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/josh/default.nix b/third_party/josh/default.nix index ce472b32c20b..e6cb1ac0e156 100644 --- a/third_party/josh/default.nix +++ b/third_party/josh/default.nix @@ -28,6 +28,7 @@ naersk.buildPackage { pkg-config ]; + dontStrip = true; cargoBuildOptions = x: x ++ [ "-p" "josh-filter" @@ -36,6 +37,10 @@ naersk.buildPackage { ]; overrideMain = x: { + preBuild = x.preBuild or "" + '' + echo 'debug = true' >> Cargo.toml + ''; + nativeBuildInputs = (x.nativeBuildInputs or [ ]) ++ [ pkgs.makeWrapper ]; postInstall = '' wrapProgram $out/bin/josh-proxy --prefix PATH : "${pkgs.git}/bin" |