1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 09:36:20 +09:00

Rename newOptionAttrSetToDocList -> optionAttrSetToDocList

This commit is contained in:
Eelco Dolstra 2013-10-17 14:09:05 +02:00
parent 82ad8c5ce0
commit 04690da3bd
2 changed files with 7 additions and 6 deletions

View file

@ -266,8 +266,7 @@ rec {
# Generate documentation template from the list of option declaration like
# the set generated with filterOptionSets.
optionAttrSetToDocList = ignore: newOptionAttrSetToDocList;
newOptionAttrSetToDocList = attrs:
optionAttrSetToDocList = attrs:
let options = collect isOption attrs; in
fold (opt: rest:
let
@ -285,7 +284,7 @@ rec {
subOptions =
if opt ? options then
newOptionAttrSetToDocList opt.options
optionAttrSetToDocList opt.options
else
[];
in