···6363 decls
6464 ));
65656666- /*
6767- Evaluate a set of modules. The result is a set with the attributes:
6868-6969- ‘options’: The nested set of all option declarations,
7070-7171- ‘config’: The nested set of all option values.
7272-7373- ‘type’: A module system type representing the module set as a submodule,
7474- to be extended by configuration from the containing module set.
7575-7676- This is also available as the module argument ‘moduleType’.
7777-7878- ‘extendModules’: A function similar to ‘evalModules’ but building on top
7979- of the module set. Its arguments, ‘modules’ and ‘specialArgs’ are
8080- added to the existing values.
8181-8282- Using ‘extendModules’ a few times has no performance impact as long
8383- as you only reference the final ‘options’ and ‘config’.
8484- If you do reference multiple ‘config’ (or ‘options’) from before and
8585- after ‘extendModules’, performance is the same as with multiple
8686- ‘evalModules’ invocations, because the new modules' ability to
8787- override existing configuration fundamentally requires a new
8888- fixpoint to be constructed.
8989-9090- This is also available as a module argument.
9191-9292- ‘_module’: A portion of the configuration tree which is elided from
9393- ‘config’. It contains some values that are mostly internal to the
9494- module system implementation.
6666+ /* See https://nixos.org/manual/nixpkgs/unstable/#module-system-lib-evalModules
6767+ or file://./../doc/module-system/module-system.chapter.md
95689669 !!! Please think twice before adding to this argument list! The more
9770 that is specified here instead of in the modules themselves the harder