nixpkgs-suyu/nixos
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
..
doc/manual Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
lib Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
maintainers Hack to parallelize AMI copying 2015-09-29 14:54:12 +02:00
modules Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
tests Revert "Add a way to pin a NixOS version within the module system." 2016-02-27 20:48:12 +01:00
COPYING
default.nix Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
README
release-combined.nix nixos/tests/networking: Add a test for loopback 2015-12-18 07:09:42 +01:00
release-small.nix release-small.nix: Drop the grub1 test 2015-08-11 13:51:55 +02:00
release.nix Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.