From 2deaf9535f582d6dc8c93571b35dd92c3408196e Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Fri, 19 Jul 2024 19:24:33 +0200 Subject: [PATCH] chore(nix-builders): remove legacy `system` field Signed-off-by: Raito Bezarius --- nix/coordinator.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/coordinator.nix b/nix/coordinator.nix index 547ed94..eeb48a4 100644 --- a/nix/coordinator.nix +++ b/nix/coordinator.nix @@ -5,6 +5,7 @@ , ... }: let + inherit (lib) filterAttrs; cfg = config.services.buildbot-nix.coordinator; in { @@ -241,7 +242,7 @@ in prometheus_config=${if (!cfg.prometheus.enable) then "None" else builtins.toJSON { inherit (cfg.prometheus) address port; }}, - nix_builders=${builtins.toJSON cfg.buildMachines}, + nix_builders=${builtins.toJSON (map (b: filterAttrs (n: _: n != "system") b) cfg.buildMachines)}, # Signing key file must be available on the workers and readable. signing_keyfile=${if cfg.signingKeyFile == null then "None" else builtins.toJSON cfg.signingKeyFile}, binary_cache_config=${if (!cfg.binaryCache.enable) then "None" else builtins.toJSON {