aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2021-12-02 17:46:44 +0100
committerSilvan Mosberger <contact@infinisil.com>2021-12-02 21:54:51 +0100
commit90700736c7744b97ab69a4fadcd56fa242ec617f (patch)
treefe1915e61e4d367dd393fc4c45021c9fcf7ac226 /doc/manual
parent2ff71b021379a2c9bbdcb789a93cdc585b3520ca (diff)
Introduce builtins.groupBy primop
This function is very useful in nixpkgs, but its implementation in Nix itself is rather slow due to it requiring a lot of attribute set and list appends.
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/src/release-notes/rl-next.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/manual/src/release-notes/rl-next.md b/doc/manual/src/release-notes/rl-next.md
index 26c7d2cce..a6b22dfa7 100644
--- a/doc/manual/src/release-notes/rl-next.md
+++ b/doc/manual/src/release-notes/rl-next.md
@@ -5,3 +5,6 @@
* `nix develop` now has a flag `--unpack` to run `unpackPhase`.
* Lists can now be compared lexicographically using the `<` operator.
+
+* New built-in function: `builtins.groupBy`, with the same functionality as
+ Nixpkgs' `lib.groupBy`, but faster.