From b1aa4a7f2564156aaa256514f3498758bcbab7da Mon Sep 17 00:00:00 2001 From: michaelmouf <99981438+michaelmouf@users.noreply.github.com> Date: Mon, 30 May 2022 12:14:45 +0200 Subject: [PATCH] Fix typo in compareLists docstring --- lib/lists.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lists.nix b/lib/lists.nix index a030280c8dc..36056e18065 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 == []