Merge pull request #10929 from NixOS/avoid-building-too-many-jobs-at-once

Avoid building too many jobs at once
This commit is contained in:
John Ericson 2024-06-17 09:53:43 -04:00 committed by GitHub
commit e0b4691754
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

@ -270,8 +270,11 @@
(lib.genAttrs stdenvs (_: { })))
{
"nix" = { };
"nix-util" = { };
"nix-store" = { };
# Temporarily disabled because GitHub Actions OOM issues. Once
# the old build system is gone and we are back to one build
# system, we should reenable these.
#"nix-util" = { };
#"nix-store" = { };
}
// lib.optionalAttrs (builtins.elem system linux64BitSystems) {
dockerImage =

View File

@ -41,7 +41,8 @@ let
in
{
# Binary package for various platforms.
build = forAllSystems (system: self.packages.${system}.nix);
build = forAllPackages (pkgName:
forAllSystems (system: nixpkgsFor.${system}.native.${pkgName}));
shellInputs = forAllSystems (system: self.devShells.${system}.default.inputDerivation);