···176176 lib.mapAttrsToList (
177177 kernel: rebuildCount:
178178 let
179179- range = from: to: from <= rebuildCount && (rebuildCount <= to || to == null);
179179+ range = from: to: from <= rebuildCount && (to == null || rebuildCount <= to);
180180 in
181181 lib.mapAttrs' (number: lib.nameValuePair "10.rebuild-${kernel}: ${number}") {
182182 "0" = range 0 0;