lib/types.nix: Fix getSubOptions doc

This comment was added in 73f32d0375, when it was already
supposed to be an attrset.
This commit is contained in:
Robert Hensing
2024-04-04 11:54:45 +02:00
parent 0bc9783221
commit e090bb55f0
+1 -1
View File
@@ -157,7 +157,7 @@ rec {
# If it doesn't, this should be {}
# This may be used when a value is required for `mkIf false`. This allows the extra laziness in e.g. `lazyAttrsOf`.
emptyValue ? {}
, # Return a flat list of sub-options. Used to generate
, # Return a flat attrset of sub-options. Used to generate
# documentation.
getSubOptions ? prefix: {}
, # List of modules if any, or null if none.