diff --git a/flake.crane.nix b/flake.crane.nix index fa4b9417d04..4eaa8162875 100644 --- a/flake.crane.nix +++ b/flake.crane.nix @@ -268,7 +268,7 @@ rec { pnameSuffix = "-lcov"; version = "0.0.1"; cargoArtifacts = workspaceDepsCov; - buildPhaseCargoCommand = "mkdir -p $out ; env RUST_LOG=info,timing=debug cargo llvm-cov --locked --workspace --profile $CARGO_PROFILE --lcov --all-targets --tests --output-path $out/lcov.info"; + buildPhaseCargoCommand = "mkdir -p $out ; env RUST_LOG=info,timing=debug cargo llvm-cov --locked --workspace --profile $CARGO_PROFILE --lcov --all-targets --tests --output-path $out/lcov.info -- --test-threads=$(($(nproc) * 2))"; installPhaseCommand = "true"; nativeBuildInputs = commonArgs.nativeBuildInputs ++ [ cargo-llvm-cov ]; doCheck = false;