nixpkgs/nixos/modules
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
..
config Show precise error messages in option merge failures 2013-10-28 22:45:57 +01:00
hardware Remove uses of the "merge" option attribute 2013-10-28 22:45:56 +01:00
installer nixos-rebuild: Ignore failure from get-version-suffix 2013-10-28 22:45:57 +01:00
misc Show precise error messages in option merge failures 2013-10-28 22:45:57 +01:00
profiles Hack to work around the lack of isPath 2013-10-28 22:45:57 +01:00
programs Fix an assertion set in the wrong place 2013-10-25 15:47:30 +02:00
security Remove uses of the "merge" option attribute 2013-10-28 22:45:56 +01:00
services Rename environment.nix -> nix.package 2013-10-28 22:45:57 +01:00
system Fix NixOps evaluation 2013-10-28 22:45:57 +01:00
tasks Do not allow multiple definitions of IP addresses etc. within an interface 2013-10-28 22:45:57 +01:00
testing Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
virtualisation Rename environment.nix -> nix.package 2013-10-28 22:45:57 +01:00
module-list.nix services.redshift: New service 2013-10-22 09:03:06 +01:00
rename.nix Rename environment.nix -> nix.package 2013-10-28 22:45:57 +01:00