nixpkgs/nixos/doc/manual/development
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
..
building-nixos.xml Chunk NixOS manual 2014-08-26 19:03:49 +02:00
building-parts.xml Chunk NixOS manual 2014-08-26 19:03:49 +02:00
development.xml manual: re-add running nixos tests sections 2015-04-21 02:28:59 -04:00
nixos-tests.xml manual: re-add running nixos tests sections 2015-04-21 02:28:59 -04:00
option-declarations.xml Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
option-def.xml Chunk NixOS manual 2014-08-26 19:03:49 +02:00
running-nixos-tests-interactively.xml manual: re-add running nixos tests sections 2015-04-21 02:28:59 -04:00
running-nixos-tests.xml manual: re-add running nixos tests sections 2015-04-21 02:28:59 -04:00
sources.xml Document the nixpkgs-channels repo 2015-05-20 14:20:53 +02:00
testing-installer.xml Chunk NixOS manual 2014-08-26 19:03:49 +02:00
writing-modules.xml nixos: update-locatedb - harden via systemd (#7220) 2016-01-23 20:44:30 +00:00
writing-nixos-tests.xml nixos/test-driver: Make tesseract OCR optional. 2015-05-22 07:21:58 +02:00