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
|
|
@ -18,7 +18,7 @@ in {
|
|||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.fzf;
|
||||
defaultText = literalExample "pkgs.fzf";
|
||||
defaultText = literalExpression "pkgs.fzf";
|
||||
description = "Package providing the <command>fzf</command> tool.";
|
||||
};
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ in {
|
|||
shellIntegrationOptions = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [ ];
|
||||
example = literalExample ''[ "-d 40%" ]'';
|
||||
example = literalExpression ''[ "-d 40%" ]'';
|
||||
description = ''
|
||||
If <option>programs.fzf.tmux.enableShellIntegration</option> is set to <literal>true</literal>,
|
||||
shell integration will use these options for fzf-tmux.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue