Skip to content

Commit 707a1cd

Browse files
authored
Merge pull request #59 from Mic92/fixes
buildbot-nix: fix evalWorkerCount == null
2 parents db05604 + d0a378e commit 707a1cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix/master.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ in
134134
),
135135
url=${builtins.toJSON config.services.buildbot-master.buildbotUrl},
136136
nix_eval_max_memory_size=${builtins.toJSON cfg.evalMaxMemorySize},
137-
nix_eval_worker_count=${builtins.toJSON cfg.evalWorkerCount},
137+
nix_eval_worker_count=${if cfg.evalWorkerCount == null then "None" else builtins.toJSON cfg.evalWorkerCount},
138138
nix_supported_systems=${builtins.toJSON cfg.buildSystems},
139139
outputs_path=${if cfg.outputsPath == null then "None" else builtins.toJSON cfg.outputsPath},
140140
)

0 commit comments

Comments
 (0)