NixOS #133 (8 May)
Replace "listOf attrs" by "attrsOf attrs" for options.
Nicolas Pierron commented:
I added a new type of attribute which is "loaOf" and return an attribute set. The attribute set is the merge of attribute sets and lists (once transformed to an attribute set with attribute named automatically)
If the expected returned values is a list, then we can use the function attrValues to convert such attributes to a list.
One additional hidden issue remain, which is a conflict which exists between mkOrder and attribute set (and loaOf). This concern all "listOf" options which are using mkOrder to sort their content between modules.
-- Issue on YellowGrass -- http://yellowgrass.org --
_______________________________________________ nix-commits mailing list [email protected] http://mail.cs.uu.nl/mailman/listinfo/nix-commits
