diff options
| author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 18:50:49 +0200 |
|---|---|---|
| committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 22:47:33 +0200 |
| commit | c3b87461e73ab54ab3cd112f687098f706d0079d (patch) | |
| tree | 095ce04d0d5c9d6b34437d8309d07e9c513c958e /lib/default.nix | |
| parent | lib.elemAt: inherit from lib.lists (diff) | |
| download | nixpkgs-c3b87461e73ab54ab3cd112f687098f706d0079d.tar.gz | |
lib.hasAttr: inherit from lib.attrsets
Diffstat (limited to 'lib/default.nix')
| -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 3e771d100f9e..f3bede7a827c 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -66,7 +66,7 @@ let inherit (builtins) addErrorContext genericClosure getAttr - hasAttr isAttrs isBool isInt isList isPath isString + isAttrs 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 intersectAttrs removeAttrs; + mapCartesianProduct updateManyAttrsByPath listToAttrs hasAttr 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 |
