We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58bf1f8 + 5319ddf commit 9772ecbCopy full SHA for 9772ecb
1 file changed
lib/attrsets.nix
@@ -123,7 +123,11 @@ rec {
123
{ x = "a"; y = "b"; }
124
=> { x = "a"; xa = "a"; y = "b"; yb = "b"; }
125
*/
126
- concatMapAttrs = f: flip pipe [ (mapAttrs f) attrValues (foldl' mergeAttrs { }) ];
+ concatMapAttrs = f: v:
127
+ foldl' mergeAttrs { }
128
+ (attrValues
129
+ (mapAttrs f v)
130
+ );
131
132
133
/* Update or set specific paths of an attribute set.
0 commit comments