thunderbird: use foldl' for profiles.ini merge

profilesIni folded recursiveUpdate over the profile list with the
non-strict foldl, building a thunk chain over the growing accumulator.
Use the strict foldl'.
This commit is contained in:
Austin Horstman
2026-06-17 13:04:43 -05:00
parent b8818d5a65
commit 71b4b46f23
+1 -1
View File
@@ -60,7 +60,7 @@ let
profilesWithId = lib.imap0 (i: v: v // { id = toString i; }) (attrValues cfg.profiles);
profilesIni =
lib.foldl lib.recursiveUpdate
lib.foldl' lib.recursiveUpdate
{
General = {
StartWithLastProfile = 1;