From 53744d55cdb9e78e18bf2567707c61a00fb202a7 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 18:51:34 +0200 Subject: lib.isAttrs: inherit from lib.attrsets --- lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/default.nix b/lib/default.nix index f3bede7a827c6..952474061bf3e 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -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 -- cgit 1.4.1