1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

lib.getAttr: inherit from lib.attrsets

This commit is contained in:
Silvan Mosberger 2024-06-20 18:55:26 +02:00
parent 94a863973a
commit 574611fe0b

View file

@ -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