forked from mirrors/nixpkgs
1557cfd0c6
* unifyModuleSyntax: handle all kind of module syntax to convert them into a module which has the following form: { imports = [ <paths> ]; options = <attribute set of options declarations>; config = <attribute set (with properties) of option definitions>; } This function assume that there is at most one imported attribute set which correspond to option declarations. * moduleClosure: handle a list of module's paths which are converted with the previous function to do the closure of the imports with the function lazyGenericClosure (which does the same as builtins.genericClosure except that it doesn't evaluate the content of modules). The "key" and "paths" attributes are left to be used as debug information in futur implementation(s). svn path=/nixpkgs/trunk/; revision=17108 |
||
---|---|---|
.. | ||
attrsets.nix | ||
composable-derivation.nix | ||
debug.nix | ||
default.nix | ||
lists.nix | ||
maintainers.nix | ||
meta.nix | ||
misc.nix | ||
modules.nix | ||
options.nix | ||
platforms.nix | ||
properties.nix | ||
sources.nix | ||
strings-with-deps.nix | ||
strings.nix | ||
tests.nix | ||
trivial.nix | ||
types.nix |