nixpkgs/lib
Eelco Dolstra 73f32d0375 Show precise error messages in option merge failures
For instance, if time.timeZone is defined multiple times, you now get
the error message:

  error: user-thrown exception: The unique option `time.timeZone' is defined multiple times, in `/etc/nixos/configurations/misc/eelco/x11vnc.nix' and `/etc/nixos/configuration.nix'.

while previously you got:

  error: user-thrown exception: Multiple definitions of string. Only one is allowed for this option.

and only an inspection of the stack trace gave a clue as to what
option caused the problem.
2013-10-28 22:45:57 +01:00
..
attrsets.nix Inline some functions on the critical path 2013-10-28 22:45:55 +01:00
composable-derivation.nix
customisation.nix
debug.nix
default.nix Big cleanup of the NixOS module system 2013-10-28 22:45:55 +01:00
licenses.nix Adding SlimerJS — script-driven Gecko browser 2013-10-21 00:30:39 +04:00
lists.nix Keep position information for option declarations and definitions 2013-10-28 22:45:55 +01:00
maintainers.nix maintainers: add vlstill. 2013-10-27 06:33:14 +02:00
meta.nix
misc.nix Small cleanup 2013-10-24 14:49:59 +02:00
modules.nix Show precise error messages in option merge failures 2013-10-28 22:45:57 +01:00
options.nix Show precise error messages in option merge failures 2013-10-28 22:45:57 +01:00
platforms.nix
sources.nix
strings-with-deps.nix
strings.nix
systems.nix Use isType instead of typeOf 2013-10-28 22:45:55 +01:00
tests.nix
trivial.nix
types.nix Show precise error messages in option merge failures 2013-10-28 22:45:57 +01:00