summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2023-09-27 20:01:14 +0100
committerGitHub <noreply@github.com>2023-09-27 20:01:14 +0100
commitbdce311b57ec1c78d43c423506f34e37c989e98b (patch)
tree3f4f3139d5103c177ec85f20de92ca227dd0b729 /nixos
parente937f7ded66c4f2c3e97cbfdcd9dcc57cb648856 (diff)
parentdd72ff27f783ff62c93d78f625633a09c4658344 (diff)
downloadnixpkgs-bdce311b57ec1c78d43c423506f34e37c989e98b.tar
nixpkgs-bdce311b57ec1c78d43c423506f34e37c989e98b.tar.gz
nixpkgs-bdce311b57ec1c78d43c423506f34e37c989e98b.tar.bz2
nixpkgs-bdce311b57ec1c78d43c423506f34e37c989e98b.tar.lz
nixpkgs-bdce311b57ec1c78d43c423506f34e37c989e98b.tar.xz
nixpkgs-bdce311b57ec1c78d43c423506f34e37c989e98b.tar.zst
nixpkgs-bdce311b57ec1c78d43c423506f34e37c989e98b.zip
Merge pull request #256544 from tweag/strict-foldl
`lib.lists.foldl'`: Make stricter
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/release-notes/rl-2311.section.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md
index 1ffaa0c0b5d..123242926e2 100644
--- a/nixos/doc/manual/release-notes/rl-2311.section.md
+++ b/nixos/doc/manual/release-notes/rl-2311.section.md
@@ -238,6 +238,11 @@
 
 - `networking.networkmanager.firewallBackend` was removed as NixOS is now using iptables-nftables-compat even when using iptables, therefore Networkmanager now uses the nftables backend unconditionally.
 
+- [`lib.lists.foldl'`](https://nixos.org/manual/nixpkgs/stable#function-library-lib.lists.foldl-prime) now always evaluates the initial accumulator argument first.
+  If you depend on the lazier behavior, consider using [`lib.lists.foldl`](https://nixos.org/manual/nixpkgs/stable#function-library-lib.lists.foldl) or [`builtins.foldl'`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-foldl') instead.
+
+- [`lib.attrsets.foldlAttrs`](https://nixos.org/manual/nixpkgs/stable#function-library-lib.attrsets.foldlAttrs) now always evaluates the initial accumulator argument first.
+
 - `rome` was removed because it is no longer maintained and is succeeded by `biome`.
 
 - The `services.mtr-exporter.target` has been removed in favor of `services.mtr-exporter.jobs` which allows specifying multiple targets.