diff options
author | Rick van Schijndel <Mindavi@users.noreply.github.com> | 2024-04-19 08:26:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 08:26:09 +0200 |
commit | e00a40a257e9d960a94020989e00b7d7c1238294 (patch) | |
tree | 32aa468dd35693061a7104c23ea04aa4f2bc26d7 /lib/default.nix | |
parent | f8022afb8b7a0cb91184ba2a510251af454142db (diff) | |
parent | 7b687a59cd8ee5db7cfd8067943149dd0d9215cf (diff) |
Merge pull request #298680 from gvolpe/lib/transposeMap
lib/attrsets: add mapCartesianProduct function
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 21e4bab2b942b..486d412fbb6fd 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -86,8 +86,8 @@ let zipAttrsWithNames zipAttrsWith zipAttrs recursiveUpdateUntil recursiveUpdate matchAttrs mergeAttrsList overrideExisting showAttrPath getOutput getBin getLib getDev getMan chooseDevOutputs zipWithNames zip - recurseIntoAttrs dontRecurseIntoAttrs cartesianProductOfSets - updateManyAttrsByPath; + recurseIntoAttrs dontRecurseIntoAttrs cartesianProduct cartesianProductOfSets + mapCartesianProduct updateManyAttrsByPath; inherit (self.lists) singleton forEach foldr fold foldl foldl' imap0 imap1 concatMap flatten remove findSingle findFirst any all count optional optionals toList range replicate partition zipListsWith zipLists |