mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
lib.elem: inherit from lib.lists
(cherry picked from commit 46b7bbb660
)
This commit is contained in:
parent
a8d3ed1522
commit
21cf1881e7
|
@ -65,7 +65,7 @@ let
|
|||
kernel = callLibs ./kernel.nix;
|
||||
|
||||
inherit (builtins) addErrorContext
|
||||
elem elemAt genericClosure getAttr
|
||||
elemAt genericClosure getAttr
|
||||
hasAttr isAttrs isBool isInt isList isPath isString
|
||||
pathExists readFile replaceStrings
|
||||
trace;
|
||||
|
@ -94,7 +94,7 @@ let
|
|||
reverseList listDfs toposort sort sortOn naturalSort compareLists take
|
||||
drop sublist last init crossLists unique allUnique intersectLists
|
||||
subtractLists mutuallyExclusive groupBy groupBy' concatLists genList
|
||||
length head tail;
|
||||
length head tail elem;
|
||||
inherit (self.strings) concatStrings concatMapStrings concatImapStrings
|
||||
stringLength substring
|
||||
intersperse concatStringsSep concatMapStringsSep
|
||||
|
|
Loading…
Reference in a new issue