nixpkgs/pkgs/lib
Nicolas Pierron 1557cfd0c6 split moduleClosure in two parts:
* 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
2009-09-14 13:19:00 +00:00
..
attrsets.nix * A utility function `optionalAttrs', similar to optional and 2009-09-10 10:52:51 +00:00
composable-derivation.nix replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00
debug.nix svn path=/nixpkgs/trunk/; revision=16412 2009-07-17 12:04:34 +00:00
default.nix Adding eProver to buildfarm via maintanership 2009-08-25 08:28:08 +00:00
lists.nix * findFirst is used by the LaTeX function. Forgot to commit. 2009-07-22 14:43:39 +00:00
maintainers.nix Added myself as a maintainer. 2009-07-10 19:50:04 +00:00
meta.nix * Move some functions for manipulating meta and name attributes out of 2009-03-30 13:22:19 +00:00
misc.nix adding xapian and xapian-bindings 2009-08-20 20:18:58 +00:00
modules.nix split moduleClosure in two parts: 2009-09-14 13:19:00 +00:00
options.nix Extract properties.nix and modules.nix from options.nix. 2009-07-13 16:18:52 +00:00
platforms.nix Add gnu' as an alias for linux'. 2009-09-12 18:46:04 +00:00
properties.nix Extract properties.nix and modules.nix from options.nix. 2009-07-13 16:18:52 +00:00
sources.nix cleanSource: Avoid copying git files. 2009-07-06 16:19:52 +00:00
strings-with-deps.nix * Remove the warning, it's rather annoying. 2009-08-26 14:13:05 +00:00
strings.nix removing dropPath. It's used once and in that case it behaves like 2009-09-10 16:57:26 +00:00
tests.nix removed all __primops from nixpkgs 2009-05-24 10:57:46 +00:00
trivial.nix svn path=/nixpkgs/trunk/; revision=16131 2009-07-02 08:58:30 +00:00
types.nix svn path=/nixpkgs/trunk/; revision=16412 2009-07-17 12:04:34 +00:00