diff --git a/lib/lists.nix b/lib/lists.nix index a030280c8dcc..36056e18065e 100644 --- a/lib/lists.nix +++ b/lib/lists.nix @@ -507,7 +507,7 @@ rec { compareLists compare [ "a" ] [] => 1 compareLists compare [ "a" "b" ] [ "a" "c" ] - => 1 + => -1 */ compareLists = cmp: a: b: if a == []