mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
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.
This commit is contained in:
parent
2ff71b0213
commit
90700736c7
3 changed files with 55 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue