Skip to content

Commit

Permalink
Import groupBy from lib not builtins
Browse files Browse the repository at this point in the history
* lib.groupBy will default to builtins.groupBy if available, so it is
  safer to use
  • Loading branch information
ipetkov committed Jun 7, 2022
1 parent db5482b commit 49141d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/vendorCargoRegistries.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ let
attrNames
concatStringsSep
filter
groupBy
hasAttr
hashString
head
Expand All @@ -25,6 +24,7 @@ let
concatStrings
escapeShellArg
flatten
groupBy
hasPrefix
mapAttrs'
mapAttrsToList
Expand Down
2 changes: 1 addition & 1 deletion lib/vendorGitDeps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ let
any
attrNames
filter
groupBy
hashString
head
isString
Expand All @@ -22,6 +21,7 @@ let
concatMapStrings
concatStrings
escapeShellArg
groupBy
hasPrefix
last
mapAttrs'
Expand Down

0 comments on commit 49141d2

Please sign in to comment.