1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

lib.isAttrs: inherit from lib.attrsets

(cherry picked from commit 53744d55cd)
This commit is contained in:
Silvan Mosberger 2024-06-20 18:51:34 +02:00 committed by github-actions[bot]
parent 7b83362d1a
commit 3ab68551ef

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