mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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:
parent
0bc9783221
commit
e090bb55f0
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user