query
On this page

mergeOptionDecls

lib.mergeOptionDecls

Docs pulled from | This Revision | about 9 hours ago


Merge multiple option declarations into a single declaration. In general, there should be only one declaration of each option. The exception is the ‘options’ attribute, which specifies sub-options. These can be specified multiple times to allow one module to add sub-options to an option declared somewhere else (e.g. multiple modules define sub-options for ‘fileSystems’).

'loc' is the list of attribute names where the option is located.

'opts' is a list of modules. Each module has an options attribute which correspond to the definition of 'loc' in 'opt.file'.

Inputs

loc

1. Function argument

opts

2. Function argument


Noogle also knows

Aliases