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 | nixpkgs-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.nix | 2 |
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 { |