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:
@@ -12,7 +12,11 @@
|
|||||||
in
|
in
|
||||||
if systemPackages == null then null else systemPackages.${packageName} or null;
|
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";
|
coquiTtsStreamer = inputPackageOrNull "coqui-tts-streamer" "default";
|
||||||
keepbook = inputs.keepbook.packages.${system}.keepbook.overrideAttrs (_: {
|
keepbook = inputs.keepbook.packages.${system}.keepbook.overrideAttrs (_: {
|
||||||
# Upstream checks currently depend on TS artifacts that are not built in Nix.
|
# Upstream checks currently depend on TS artifacts that are not built in Nix.
|
||||||
|
|||||||
Reference in New Issue
Block a user