1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs
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
..
applications Version bump for darcs. 2009-10-08 14:07:13 +00:00
build-support
configs/etc
data
desktops
development enable freebsd for mesa 2009-10-09 13:57:20 +00:00
games
lib Replace a counter intuitive behaviour of module evaluations. 2009-10-09 18:11:30 +00:00
misc
os-specific/linux
servers
shells
stdenv
test
tools
top-level Added uniqueid Haskell package. 2009-10-09 13:30:52 +00:00