From e53acc66607de33134394aaf0c26df2e20ae703b Mon Sep 17 00:00:00 2001 From: magic_rb Date: Mon, 15 Jul 2024 12:08:36 +0200 Subject: [PATCH] Support setting `jobReportLimit` to `0`, which always combines bulids Signed-off-by: magic_rb --- nix/master.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/master.nix b/nix/master.nix index aaead46..906454f 100644 --- a/nix/master.nix +++ b/nix/master.nix @@ -340,10 +340,10 @@ in }; jobReportLimit = lib.mkOption { - type = lib.types.nullOr lib.types.ints.positive; + type = lib.types.nullOr lib.types.ints.unsigned; description = '' The max number of build jobs per `nix-eval` `buildbot-nix` will report to backends (GitHub, Gitea, etc.). - If set to `null`, report everything, if set to `n` (some positive intereger), report builds individually + If set to `null`, report everything, if set to `n` (some unsiggned intereger), report builds individually as long as the number of builds is less than or equal to `n`, then report builds using a combined `nix-build-combined` build. '';