1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 22:01:15 +02:00

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 (_: { }))) (lib.genAttrs stdenvs (_: { })))
{ {
"nix" = { }; "nix" = { };
"nix-util" = { }; # Temporarily disabled because GitHub Actions OOM issues. Once
"nix-store" = { }; # 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) { // lib.optionalAttrs (builtins.elem system linux64BitSystems) {
dockerImage = dockerImage =

View file

@ -41,7 +41,8 @@ let
in in
{ {
# Binary package for various platforms. # 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); shellInputs = forAllSystems (system: self.devShells.${system}.default.inputDerivation);