nixpkgs-suyu/nixos/modules/installer/tools
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
..
nixos-build-vms Remove some obsolete references to <nixos> 2015-08-05 17:37:08 +02:00
auto-upgrade.nix Configure a default trust store for openssl 2016-02-03 12:42:01 +01:00
get-version-suffix Mark builds from git explicitly 2014-05-01 15:05:14 +02:00
nixos-checkout.nix Unify NixOS and Nixpkgs channel structure 2015-08-05 17:37:11 +02:00
nixos-generate-config.pl filesystems: use list of strings for fs options 2016-02-06 19:48:30 +00:00
nixos-install.sh nixos-install: don't check that /mnt is a mount point 2016-02-10 02:08:36 +03:00
nixos-option.sh Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
nixos-rebuild.sh nixos-rebuild: Don't propagate --no-out-link arg to nix-store 2016-02-01 10:54:58 +01:00
nixos-typecheck.sh Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
nixos-version.sh Add option to display git revision to nixos-version 2014-12-27 21:43:04 +01:00
tools.nix Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00