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
|
|
@ -218,8 +218,8 @@ in
|
|||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.tmux;
|
||||
defaultText = literalExample "pkgs.tmux";
|
||||
example = literalExample "pkgs.tmux";
|
||||
defaultText = literalExpression "pkgs.tmux";
|
||||
example = literalExpression "pkgs.tmux";
|
||||
description = "The tmux package to install";
|
||||
};
|
||||
|
||||
|
|
@ -302,7 +302,7 @@ in
|
|||
run at the top of your configuration.
|
||||
'';
|
||||
default = [ ];
|
||||
example = literalExample ''
|
||||
example = literalExpression ''
|
||||
with pkgs; [
|
||||
tmuxPlugins.cpu
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue