Skip to content

Commit d0a378e

Browse files
committed
buildbot-nix: fix evalWorkerCount == null
1 parent fa8ae2d commit d0a378e

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)