mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-16 18:53:17 +02:00
Merge pull request #5516 from benley/fix-matchAttrs
lib: Fix matchAttrs by importing builtins.length
This commit is contained in:
commit
fc75f738af
|
@ -1,7 +1,7 @@
|
|||
# Operations on attribute sets.
|
||||
|
||||
with {
|
||||
inherit (builtins) head tail;
|
||||
inherit (builtins) head tail length;
|
||||
inherit (import ./trivial.nix) or;
|
||||
inherit (import ./default.nix) fold;
|
||||
inherit (import ./strings.nix) concatStringsSep;
|
||||
|
|
Loading…
Reference in a new issue