diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c29ec1bde..a9a86a13d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,10 @@ on: permissions: read-all +env: + CARGO_INCREMENTAL: 0 + CARGO_PROFILE_DEV_DEBUG: 0 + jobs: build: strategy: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7cf18a5df..537f0182b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,9 @@ on: permissions: read-all +env: + CARGO_INCREMENTAL: 0 + jobs: build-release: name: build-release diff --git a/flake.nix b/flake.nix index 194e7df6d..67742e208 100644 --- a/flake.nix +++ b/flake.nix @@ -67,6 +67,7 @@ ZSTD_SYS_USE_PKG_CONFIG = "1"; LIBSSH2_SYS_USE_PKG_CONFIG = "1"; NIX_JJ_GIT_HASH = self.rev or ""; + CARGO_INCREMENTAL = "0"; postInstall = '' $out/bin/jj util mangen > ./jj.1 installManPage ./jj.1