nixpkgs/pkgs/lib
Nicolas Pierron 0c16b00cbd Replace the traversal of modules:
- Remove handleOptionSets which used option declarations & definitions
in the same set.
- Add a traversal of modules where "config" and "options" are traverse at
the same time.

This allow to have accruate error messages with the incriminated files
playing a role in the error.

This system add a new restriction compare to the previous system:
- A module with no structure (option definitions & option declarations
& require) should not contain any option declarations.  If such module
exists you must convert it to the following form:

{ imports = <content of the require attribute>;
  options = <set of option declarations>;
  config = <set of option definitions>;
}

svn path=/nixpkgs/trunk/; revision=17163
2009-09-15 13:36:30 +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 Replace the traversal of modules: 2009-09-15 13:36:30 +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 Replace the traversal of modules: 2009-09-15 13:36:30 +00:00
modules.nix Replace the traversal of modules: 2009-09-15 13:36:30 +00:00
options.nix Replace the traversal of modules: 2009-09-15 13:36:30 +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