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 Shea told me composableDerivation is hard to understand. 2014-04-30 20:31:40 +02:00
customisation.nix lib: add makeScope 2015-09-27 09:45:23 -05:00
debug.nix lib: cleanup a little bit, add traceIf 2015-03-26 12:43:42 +00:00
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 Make appendToName do the right thing 2014-03-10 15:01:56 +01:00
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 Manual: Handle XML files in subdirectories 2014-08-25 14:33:33 +02:00
strings-with-deps.nix Replace hasAttr/getAttr calls with the ? and . operators 2014-10-05 01:11:06 +02:00
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