Fix option defaultText when referencing packages
By using `literalExample` the documentation will show the option default without surrounding quotes.
This commit is contained in:
parent
db86bd6c01
commit
55b71223d4
28 changed files with 29 additions and 29 deletions
|
|
@ -23,7 +23,7 @@ in
|
|||
|
||||
package = mkOption {
|
||||
default = pkgs.fish;
|
||||
defaultText = "pkgs.fish";
|
||||
defaultText = literalExample "pkgs.fish";
|
||||
description = ''
|
||||
The fish package to install. May be used to change the version.
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue