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
|
|
@ -122,7 +122,7 @@ in
|
|||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.git;
|
||||
defaultText = "pkgs.git";
|
||||
defaultText = literalExample "pkgs.git";
|
||||
description = ''
|
||||
Git package to install. Use <varname>pkgs.gitAndTools.gitFull</varname>
|
||||
to gain access to <command>git send-email</command> for instance.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue