Replace usage of literalExample
Instead use the new function `literalExpression`. See https://github.com/NixOS/nixpkgs/pull/136909
This commit is contained in:
parent
468c461139
commit
bd11e2c5e6
148 changed files with 335 additions and 335 deletions
|
|
@ -40,7 +40,7 @@ let
|
|||
tag = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [ ];
|
||||
example = literalExample ''["git" "nixpkgs"]'';
|
||||
example = literalExpression ''["git" "nixpkgs"]'';
|
||||
description = ''
|
||||
List of tags attached to the command.
|
||||
'';
|
||||
|
|
@ -64,7 +64,7 @@ in {
|
|||
selectcmdPackage = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.fzf;
|
||||
defaultText = literalExample "pkgs.fzf";
|
||||
defaultText = literalExpression "pkgs.fzf";
|
||||
description = ''
|
||||
The package needed for the <varname>settings.selectcmd</varname>.
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue