nixpkgs/lib
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
..
tests lib: alphabetize things 2016-02-26 22:15:41 +00:00
attrsets.nix Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00
composable-derivation.nix
customisation.nix lib: add makeScope 2015-09-27 09:45:23 -05:00
debug.nix
default.nix cherry-pick lib.sandbox into master 2015-11-19 11:33:21 -08:00
deprecated.nix Update deprecated.nix 2015-11-15 03:41:39 +08:00
licenses.nix yarp (+ libace): init at 2.3.64 2016-02-24 22:08:29 +01:00
lists.nix Use builtins.sort 2015-07-28 18:42:22 +02:00
maintainers.nix lib.maintainers: add Michiel Leenaars (close #13516) 2016-02-27 22:13:11 +01:00
meta.nix
minver.nix Expose minimum required Nix version. 2015-11-26 23:11:11 +08:00
modules.nix Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
options.nix Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00
platforms.nix lib.platforms: alphabetize 2016-02-26 22:15:40 +00:00
sandbox.nix cherry-pick lib.sandbox into master 2015-11-19 11:33:21 -08:00
sources.nix
strings-with-deps.nix
strings.nix lib.getVersion: extend the function to cope with strings as well as derivations 2016-01-05 20:09:39 +01:00
systems.nix lib: alphabetize things 2016-02-26 22:15:41 +00:00
tests.nix add helper to lib/attrsets: hasAttrByPath 2015-12-07 11:04:14 +01:00
trivial.nix lib/trivial.nix: improve spelling 2015-11-25 11:30:43 +01:00
types.nix Add the tool "nixos-typecheck" that can check an option declaration to: 2016-02-29 01:09:00 +01:00