Thomas Strobel cad8957eab Add the tool "nixos-typecheck" that can check an option declaration to:
- Enforce that an option declaration has a "defaultText" if and only if the
   type of the option derives from "package", "packageSet" or "nixpkgsConfig"
   and if a "default" attribute is defined.

 - Enforce that the value of the "example" attribute is wrapped with "literalExample"
   if the type of the option derives from "package", "packageSet" or "nixpkgsConfig".

 - Warn if a "defaultText" is defined in an option declaration if the type of
   the option does not derive from "package", "packageSet" or "nixpkgsConfig".

 - Warn if no "type" is defined in an option declaration.
2016-02-29 01:09:00 +01:00
..
2016-02-26 22:15:41 +00:00
2015-09-27 09:45:23 -05:00
2015-11-15 03:41:39 +08:00
2016-02-24 22:08:29 +01:00
2015-07-28 18:42:22 +02:00
2014-03-10 15:01:56 +01:00
2016-02-26 22:15:40 +00:00
2016-02-26 22:15:41 +00:00
2015-11-25 11:30:43 +01:00