1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/nixos/modules/misc
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
..
assertions.nix Remove uses of the "merge" option attribute 2013-10-28 22:45:56 +01:00
check-config.nix
crashdump.nix
ids.nix
lib.nix
locate.nix
nixpkgs.nix Show precise error messages in option merge failures 2013-10-28 22:45:57 +01:00
passthru.nix
version.nix