diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-07-27 15:13:31 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 15:13:31 +0700 |
commit | b63a54f81ce96391e6da6aab5965926e7cdbce47 (patch) | |
tree | ae8f9eca6965b3eb7e919548723c46ba663525c2 /lib/trivial.nix | |
parent | d82543f22d9e778a051ee866e6d2d8716a1cae0d (diff) | |
parent | 1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270 (diff) |
Merge pull request #110742 from siraben/deprecate-fold
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 e1581f1e91d6b..c8ef5599ccde9 100644 --- a/lib/trivial.nix +++ b/lib/trivial.nix @@ -308,7 +308,7 @@ rec { 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 |