Merge pull request #59 from Mic92/fixes

buildbot-nix: fix evalWorkerCount == null
This commit is contained in:
Jörg Thalheim 2023-12-21 12:35:37 +01:00 committed by GitHub
commit 707a1cdf7e
Failed to generate hash of commit

View file

@ -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},
)