ci/eval: fix comparing to null in getLabels (#419074)

This commit is contained in:
Wolfgang Walther 2025-06-22 19:41:00 +00:00 committed by GitHub
commit a26012278e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -176,7 +176,7 @@ rec {
lib.mapAttrsToList (
kernel: rebuildCount:
let
range = from: to: from <= rebuildCount && (rebuildCount <= to || to == null);
range = from: to: from <= rebuildCount && (to == null || rebuildCount <= to);
in
lib.mapAttrs' (number: lib.nameValuePair "10.rebuild-${kernel}: ${number}") {
"0" = range 0 0;