mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
lib.systems: foldl -> foldl'
This commit is contained in:
parent
3e79bb55c5
commit
5a4597cc83
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
let
|
||||
inherit (lib)
|
||||
any
|
||||
foldl
|
||||
foldl'
|
||||
hasInfix
|
||||
isAttrs
|
||||
isList
|
||||
|
|
@ -692,7 +692,7 @@ let
|
|||
};
|
||||
in
|
||||
assert final.useAndroidPrebuilt -> final.isAndroid;
|
||||
assert foldl (pass: { assertion, message }: if assertion final then pass else throw message) true (
|
||||
assert foldl' (pass: { assertion, message }: if assertion final then pass else throw message) true (
|
||||
final.parsed.abi.assertions or [ ]
|
||||
);
|
||||
final;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue