diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-05-24 15:51:01 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-05-24 15:52:26 +0300 |
commit | ee4f8c2dc98f10b75242b526245229e24baa6010 (patch) | |
tree | 553d8cad53cbd95fa0a31eab45b237784d2c4b35 /lib/types.nix | |
parent | 8a07319e7fb086f9c6cbd47602773f10f3eb49fa (diff) | |
download | nixlib-ee4f8c2dc98f10b75242b526245229e24baa6010.tar nixlib-ee4f8c2dc98f10b75242b526245229e24baa6010.tar.gz nixlib-ee4f8c2dc98f10b75242b526245229e24baa6010.tar.bz2 nixlib-ee4f8c2dc98f10b75242b526245229e24baa6010.tar.lz nixlib-ee4f8c2dc98f10b75242b526245229e24baa6010.tar.xz nixlib-ee4f8c2dc98f10b75242b526245229e24baa6010.tar.zst nixlib-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.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix index 45122759bfca..b06cc9eedaa9 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 { |