ci/eval: fix comparing to null in getLabels

Check if `to` is null _before_ comparing it to `rebuildCount`.

Changed files
+1 -1
ci
eval
compare
+1 -1
ci/eval/compare/utils.nix
···
lib.mapAttrsToList (
kernel: rebuildCount:
let
-
range = from: to: from <= rebuildCount && (rebuildCount <= to || to == null);
in
lib.mapAttrs' (number: lib.nameValuePair "10.rebuild-${kernel}: ${number}") {
"0" = range 0 0;
···
lib.mapAttrsToList (
kernel: rebuildCount:
let
+
range = from: to: from <= rebuildCount && (to == null || rebuildCount <= to);
in
lib.mapAttrs' (number: lib.nameValuePair "10.rebuild-${kernel}: ${number}") {
"0" = range 0 0;