From 7a0b5c36c943f4f257c93f3c3e7fed22ffe2d67c Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 21 Sep 2023 19:21:02 +0200 Subject: [PATCH] lib.lists.foldl': Remove fallback Nix 2.3, the minimum Nix version supported by Nixpkgs, has `builtins.foldl'` already. --- lib/lists.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lists.nix b/lib/lists.nix index 0800aeb65451..4a13550ca9ea 100644 --- a/lib/lists.nix +++ b/lib/lists.nix @@ -94,7 +94,7 @@ rec { Type: foldl' :: (b -> a -> b) -> b -> [a] -> b */ - foldl' = builtins.foldl' or foldl; + foldl' = builtins.foldl'; /* Map with index starting from 0