lib.elem: inherit from lib.lists

This commit is contained in:
Silvan Mosberger 2024-06-20 18:48:21 +02:00
parent f341dca2a2
commit 46b7bbb660

View File

@ -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