diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 18:55:26 +0200 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 22:48:53 +0200 |
commit | 574611fe0bfb213816ecd9ca7eb7045edc2b0e22 (patch) | |
tree | 700f44b9437d0200f7e32a2e4f3ddd302d4360ed /lib | |
parent | 94a863973a82c16357d6680d361b008a8de608b4 (diff) |
lib.getAttr: inherit from lib.attrsets
Diffstat (limited to 'lib')
-rw-r--r-- | lib/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix index 6228935965b0..f003d7110c93 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 |