diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-25 13:57:48 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-26 10:57:07 +0700 |
commit | 1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270 (patch) | |
tree | 1bdff74d3f609e78f8931a3f32398062d61db84d /lib/trivial.nix | |
parent | aa8868c7cca8d30706a68a876d048968c83e1cf1 (diff) |
treewide: fold -> foldr
Diffstat (limited to 'lib/trivial.nix')
-rw-r--r-- | lib/trivial.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trivial.nix b/lib/trivial.nix index 268f39d321035..5ee7fc9920657 100644 --- a/lib/trivial.nix +++ b/lib/trivial.nix @@ -305,7 +305,7 @@ rec { warn = msg: builtins.trace "[1;31mwarning: ${msg}[0m"; info = msg: builtins.trace "INFO: ${msg}"; - showWarnings = warnings: res: lib.fold (w: x: warn w x) res warnings; + showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings; ## Function annotations |