diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-03-17 00:10:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 00:10:36 +0000 |
commit | 6863d678bc8ab86cb219b477dcbaf6afa6bd7824 (patch) | |
tree | b90d6b82d7c257dabcbd83706b24b430c653d78b /nixos/doc/manual/development/option-declarations.section.md | |
parent | da48de160e6c885c724543dccfe867e306f59635 (diff) | |
parent | 2e80229c8180f05de3d119d726e5b12b05f0a9f9 (diff) |
Merge master into haskell-updates
Diffstat (limited to 'nixos/doc/manual/development/option-declarations.section.md')
-rw-r--r-- | nixos/doc/manual/development/option-declarations.section.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nixos/doc/manual/development/option-declarations.section.md b/nixos/doc/manual/development/option-declarations.section.md index a0df491b65814..2e11218e82389 100644 --- a/nixos/doc/manual/development/option-declarations.section.md +++ b/nixos/doc/manual/development/option-declarations.section.md @@ -27,9 +27,10 @@ The function `mkOption` accepts the following arguments. `type` -: The type of the option (see [](#sec-option-types)). It may be - omitted, but that's not advisable since it may lead to errors that - are hard to diagnose. +: The type of the option (see [](#sec-option-types)). This + argument is mandatory for nixpkgs modules. Setting this is highly + recommended for the sake of documentation and type checking. In case it is + not set, a fallback type with unspecified behavior is used. `default` |