nixpkgs/pkgs/lib
Nicolas Pierron bb16a7f08d Replace a counter intuitive behaviour of module evaluations.
- types.nix:
Introduce a new flag named "delayProperties" which define either that
properties should be evaluated (when false) or that they should be delaied
through the type structure.

- properties.nix:
Generalized the delayProperties function to make it work with the iter
functions of option types.

- modules.nix:
Replace evalProperties by a condition based on the value of the
"delayProperties" flag of the option type.  If the flag does not exists or
if it is false, then the system behaves as always.  Otherwise it delays
the properties from the current value to each values contained inside it.

svn path=/nixpkgs/trunk/; revision=17736
2009-10-09 18:11:30 +00:00
..
attrsets.nix Fix collect example. 2009-09-29 15:34:19 +00:00
composable-derivation.nix
debug.nix
default.nix Replace the traversal of modules: 2009-09-15 13:36:30 +00:00
lists.nix Add the reverseList function. 2009-10-06 13:36:46 +00:00
maintainers.nix Adding me as a maintainer, with a pair of packages. 2009-09-20 09:37:55 +00:00
meta.nix
misc.nix Move zip & zipWithNames from misc.nix to attrsets.nix and rename them to 2009-09-29 14:57:00 +00:00
modules.nix Replace a counter intuitive behaviour of module evaluations. 2009-10-09 18:11:30 +00:00
options.nix Extract the path done inside the iteration process of the option type and 2009-10-06 09:21:46 +00:00
platforms.nix * selectMaintained (renamed): don't use meta.maintainer, just use 2009-09-23 19:45:02 +00:00
properties.nix Replace a counter intuitive behaviour of module evaluations. 2009-10-09 18:11:30 +00:00
sources.nix
strings-with-deps.nix
strings.nix Improve the efficiency of stringToCharacters. 2009-10-06 09:21:58 +00:00
tests.nix
trivial.nix
types.nix Replace a counter intuitive behaviour of module evaluations. 2009-10-09 18:11:30 +00:00