nix: build git-blame-rank with a single cargo job

Constrain CARGO_BUILD_JOBS=1 so the git-blame-rank build does not
saturate the machine during rebuilds.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-02 14:17:32 -07:00
parent 6bd0ccc6d8
commit cb75208f9e

View File

@@ -12,7 +12,11 @@
in
if systemPackages == null then null else systemPackages.${packageName} or null;
git-blame-rank = inputs.git-blame-rank.packages.${system}.default;
git-blame-rank = inputs.git-blame-rank.packages.${system}.default.overrideAttrs (old: {
env = (old.env or {}) // {
CARGO_BUILD_JOBS = "1";
};
});
coquiTtsStreamer = inputPackageOrNull "coqui-tts-streamer" "default";
keepbook = inputs.keepbook.packages.${system}.keepbook.overrideAttrs (_: {
# Upstream checks currently depend on TS artifacts that are not built in Nix.