ci/eval: fix comparing to null in getLabels (#419074)
This commit is contained in:
commit
a26012278e
@ -176,7 +176,7 @@ rec {
|
|||||||
lib.mapAttrsToList (
|
lib.mapAttrsToList (
|
||||||
kernel: rebuildCount:
|
kernel: rebuildCount:
|
||||||
let
|
let
|
||||||
range = from: to: from <= rebuildCount && (rebuildCount <= to || to == null);
|
range = from: to: from <= rebuildCount && (to == null || rebuildCount <= to);
|
||||||
in
|
in
|
||||||
lib.mapAttrs' (number: lib.nameValuePair "10.rebuild-${kernel}: ${number}") {
|
lib.mapAttrs' (number: lib.nameValuePair "10.rebuild-${kernel}: ${number}") {
|
||||||
"0" = range 0 0;
|
"0" = range 0 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user