mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
lib.hasAttr: inherit from lib.attrsets
This commit is contained in:
parent
4bcc1d3450
commit
c3b87461e7
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ let
|
||||||
|
|
||||||
inherit (builtins) addErrorContext
|
inherit (builtins) addErrorContext
|
||||||
genericClosure getAttr
|
genericClosure getAttr
|
||||||
hasAttr isAttrs isBool isInt isList isPath isString
|
isAttrs isBool isInt isList isPath isString
|
||||||
pathExists readFile replaceStrings
|
pathExists readFile replaceStrings
|
||||||
trace;
|
trace;
|
||||||
inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor
|
inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor
|
||||||
|
@ -87,7 +87,7 @@ let
|
||||||
recursiveUpdate matchAttrs mergeAttrsList overrideExisting showAttrPath getOutput
|
recursiveUpdate matchAttrs mergeAttrsList overrideExisting showAttrPath getOutput
|
||||||
getBin getLib getDev getMan chooseDevOutputs zipWithNames zip
|
getBin getLib getDev getMan chooseDevOutputs zipWithNames zip
|
||||||
recurseIntoAttrs dontRecurseIntoAttrs cartesianProduct cartesianProductOfSets
|
recurseIntoAttrs dontRecurseIntoAttrs cartesianProduct cartesianProductOfSets
|
||||||
mapCartesianProduct updateManyAttrsByPath listToAttrs intersectAttrs removeAttrs;
|
mapCartesianProduct updateManyAttrsByPath listToAttrs hasAttr intersectAttrs removeAttrs;
|
||||||
inherit (self.lists) singleton forEach map foldr fold foldl foldl' imap0 imap1
|
inherit (self.lists) singleton forEach map foldr fold foldl foldl' imap0 imap1
|
||||||
filter ifilter0 concatMap flatten remove findSingle findFirst any all count
|
filter ifilter0 concatMap flatten remove findSingle findFirst any all count
|
||||||
optional optionals toList range replicate partition zipListsWith zipLists
|
optional optionals toList range replicate partition zipListsWith zipLists
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue