treewide: add defaultText (manual)
This enables generating module option documentation. Add `defaultText` to options where the default value can't be evaluated during metadata generation.
This commit is contained in:
parent
f0096371bf
commit
d24c029435
3 changed files with 8 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ let
|
|||
program = mkOption {
|
||||
readOnly = true;
|
||||
default = script;
|
||||
defaultText = "(See source)";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue