summary refs log tree commit diff
path: root/lib/types.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2017-05-24 15:51:01 +0300
committerNikolay Amiantov <ab@fmap.me>2017-05-24 15:52:26 +0300
commitee4f8c2dc98f10b75242b526245229e24baa6010 (patch)
tree553d8cad53cbd95fa0a31eab45b237784d2c4b35 /lib/types.nix
parent8a07319e7fb086f9c6cbd47602773f10f3eb49fa (diff)
downloadnixpkgs-ee4f8c2dc98f10b75242b526245229e24baa6010.tar
nixpkgs-ee4f8c2dc98f10b75242b526245229e24baa6010.tar.gz
nixpkgs-ee4f8c2dc98f10b75242b526245229e24baa6010.tar.bz2
nixpkgs-ee4f8c2dc98f10b75242b526245229e24baa6010.tar.lz
nixpkgs-ee4f8c2dc98f10b75242b526245229e24baa6010.tar.xz
nixpkgs-ee4f8c2dc98f10b75242b526245229e24baa6010.tar.zst
nixpkgs-ee4f8c2dc98f10b75242b526245229e24baa6010.zip
nixos doc: document coercedTo type
Also mention about docs in types.nix and fix a small error in related
documentation.

Fixes #26055.
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 45122759bfc..b06cc9eedaa 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -92,6 +92,8 @@ rec {
     };
 
 
+  # When adding new types don't forget to document them in
+  # nixos/doc/manual/development/option-types.xml!
   types = rec {
 
     unspecified = mkOptionType {