diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 17:49:20 +0200 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 17:59:36 +0200 |
commit | 56535c832ff422ac0b7f872a708258e2c2be105c (patch) | |
tree | 78ee9ab0f14d1f02a3ec3c7104d038643fb1ddfd | |
parent | 4413a877bb3e86eee0420e7f4beba0fcf02aa409 (diff) |
lib.intersectAttrs: Export from builtins
-rw-r--r-- | lib/attrsets.nix | 2 | ||||
-rw-r--r-- | lib/default.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/attrsets.nix b/lib/attrsets.nix index 83f8d0f34186e..c0ac6eeb41bcf 100644 --- a/lib/attrsets.nix +++ b/lib/attrsets.nix @@ -11,7 +11,7 @@ let in rec { - inherit (builtins) attrNames listToAttrs hasAttr isAttrs getAttr removeAttrs; + inherit (builtins) attrNames listToAttrs hasAttr isAttrs getAttr removeAttrs intersectAttrs; /** diff --git a/lib/default.nix b/lib/default.nix index 0e7b1d72337fe..eb4890b94229a 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -87,7 +87,7 @@ let recursiveUpdate matchAttrs mergeAttrsList overrideExisting showAttrPath getOutput getBin getLib getDev getMan chooseDevOutputs zipWithNames zip recurseIntoAttrs dontRecurseIntoAttrs cartesianProduct cartesianProductOfSets - mapCartesianProduct updateManyAttrsByPath; + mapCartesianProduct updateManyAttrsByPath intersectAttrs; inherit (self.lists) singleton forEach map foldr fold foldl foldl' imap0 imap1 ifilter0 concatMap flatten remove findSingle findFirst any all count optional optionals toList range replicate partition zipListsWith zipLists |