lib.zipAttrs: Remove needless function wrapping

Returning the partially applied `zipAttrsWith fn` is the same as `sets: zipAttrsWith fn sets`.
This commit is contained in:
adisbladis 2024-03-03 16:09:40 +13:00
parent 31f91738fb
commit 4338bfde09

View file

@ -870,10 +870,7 @@ rec {
Type:
zipAttrs :: [ AttrSet ] -> AttrSet
*/
zipAttrs =
# List of attribute sets to zip together.
sets:
zipAttrsWith (name: values: values) sets;
zipAttrs = zipAttrsWith (name: values: values);
/*
Merge a list of attribute sets together using the `//` operator.