lib.isAttrs: inherit from lib.attrsets

This commit is contained in:
Silvan Mosberger 2024-06-20 18:51:34 +02:00
parent c3b87461e7
commit 53744d55cd

View File

@ -66,7 +66,7 @@ let
inherit (builtins) addErrorContext
genericClosure getAttr
isAttrs isBool isInt isList isPath isString
isBool isInt isList isPath isString
pathExists readFile replaceStrings
trace;
inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor
@ -87,7 +87,7 @@ let
recursiveUpdate matchAttrs mergeAttrsList overrideExisting showAttrPath getOutput
getBin getLib getDev getMan chooseDevOutputs zipWithNames zip
recurseIntoAttrs dontRecurseIntoAttrs cartesianProduct cartesianProductOfSets
mapCartesianProduct updateManyAttrsByPath listToAttrs hasAttr intersectAttrs removeAttrs;
mapCartesianProduct updateManyAttrsByPath listToAttrs hasAttr isAttrs intersectAttrs removeAttrs;
inherit (self.lists) singleton forEach map foldr fold foldl foldl' imap0 imap1
filter ifilter0 concatMap flatten remove findSingle findFirst any all count
optional optionals toList range replicate partition zipListsWith zipLists