From 574611fe0bfb213816ecd9ca7eb7045edc2b0e22 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 18:55:26 +0200 Subject: lib.getAttr: 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 6228935965b09..f003d7110c93a 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -65,7 +65,7 @@ let kernel = callLibs ./kernel.nix; inherit (builtins) addErrorContext - genericClosure getAttr + genericClosure isPath pathExists readFile replaceStrings trace; @@ -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 isAttrs intersectAttrs removeAttrs; + mapCartesianProduct updateManyAttrsByPath listToAttrs hasAttr getAttr 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