From d0a378ef49fff3def9ced96abd072f0075a2ac22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 18 Dec 2023 16:18:47 +0100 Subject: [PATCH] buildbot-nix: fix evalWorkerCount == null --- nix/master.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/master.nix b/nix/master.nix index b55dc55..867f7fc 100644 --- a/nix/master.nix +++ b/nix/master.nix @@ -134,7 +134,7 @@ in ), url=${builtins.toJSON config.services.buildbot-master.buildbotUrl}, nix_eval_max_memory_size=${builtins.toJSON cfg.evalMaxMemorySize}, - nix_eval_worker_count=${builtins.toJSON cfg.evalWorkerCount}, + nix_eval_worker_count=${if cfg.evalWorkerCount == null then "None" else builtins.toJSON cfg.evalWorkerCount}, nix_supported_systems=${builtins.toJSON cfg.buildSystems}, outputs_path=${if cfg.outputsPath == null then "None" else builtins.toJSON cfg.outputsPath}, )