nixpkgs-suyu/nixos/modules/misc
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
..
assertions.nix Remove some obsolete references to <nixos> 2015-08-05 17:37:08 +02:00
crashdump.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
extra-arguments.nix nixos: move left-behind allowUnfree comment 2015-09-03 01:17:10 +02:00
ids.nix networkmanager: fix link-local ip addresses 2016-02-26 03:28:56 +01:00
lib.nix
locate.nix Improve services.locate.period deprecation message 2016-02-27 20:48:12 +01:00
meta.nix Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
nixpkgs.nix Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
passthru.nix
version.nix nixos: introduce system.nixosLabel option and use it where appropriate 2016-01-08 22:26:15 +00:00