1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

lib.isList: inherit from lib.lists

(cherry picked from commit 6f7324c1f0)
This commit is contained in:
Silvan Mosberger 2024-06-20 18:53:11 +02:00 committed by github-actions[bot]
parent d01fe5dad1
commit f54ef335b4

View file

@ -66,7 +66,7 @@ let
inherit (builtins) addErrorContext
genericClosure getAttr
isList isPath isString
isPath isString
pathExists readFile replaceStrings
trace;
inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor
@ -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 elem elemAt;
length head tail elem elemAt isList;
inherit (self.strings) concatStrings concatMapStrings concatImapStrings
stringLength substring
intersperse concatStringsSep concatMapStringsSep