From 070d97fdf15968f895e590b021d6b5e2a6e0e5f7 Mon Sep 17 00:00:00 2001 From: Yureka Date: Mon, 9 Dec 2024 10:46:03 +0100 Subject: [PATCH] adjust builders list --- flake.nix | 2 +- hosts/build-coord/default.nix | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 9a7a19e..ab30060 100644 --- a/flake.nix +++ b/flake.nix @@ -173,7 +173,7 @@ } ]; - builders = lib.listToAttrs (lib.genList makeBuilder 11); + builders = lib.listToAttrs (map makeBuilder [4 5 10 11]); in { meta.nixpkgs = systemBits.x86_64-linux.pkgs; # Add any non-x86_64 native systems here. diff --git a/hosts/build-coord/default.nix b/hosts/build-coord/default.nix index 8da91d1..26c0cdb 100644 --- a/hosts/build-coord/default.nix +++ b/hosts/build-coord/default.nix @@ -9,8 +9,7 @@ bagel.services = { hydra.enable = true; - # Takes 10 builders (0 → 9). - hydra.builders = lib.genList (i: "builder-${builtins.toString i}") 10; + hydra.builders = map (i: "builder-${builtins.toString i}") [4 5 10]; }; bagel.monitoring.exporters.hydra.enable = true;