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 Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
customisation.nix Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
debug.nix Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
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 Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
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 Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
sources.nix Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
strings-with-deps.nix Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
strings.nix Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
systems.nix Use isType instead of typeOf 2013-10-28 22:45:55 +01:00
tests.nix Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
trivial.nix Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
types.nix Show precise error messages in option merge failures 2013-10-28 22:45:57 +01:00