1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
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 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 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 * Move some functions for manipulating meta and name attributes out of 2009-03-30 13:22:19 +00:00
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 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 Improve the efficiency of stringToCharacters. 2009-10-06 09:21:58 +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 Replace a counter intuitive behaviour of module evaluations. 2009-10-09 18:11:30 +00:00