nixpkgs/nixos/modules/installer
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
..
cd-dvd Merge pull request #12742 from dezgeg/pr-uboot-changes 2016-02-15 16:10:37 +02:00
scan Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
tools Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
virtualbox-demo.nix Revert "Revert "Merge pull request #2449 from wkennington/master.grub"" 2014-09-02 09:16:13 -07:00