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
|
|
@ -14,14 +14,14 @@ in {
|
|||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.piston-cli;
|
||||
defaultText = literalExample "pkgs.piston-cli";
|
||||
defaultText = literalExpression "pkgs.piston-cli";
|
||||
description = "The piston-cli package to use.";
|
||||
};
|
||||
|
||||
settings = mkOption {
|
||||
type = yamlFormat.type;
|
||||
default = { };
|
||||
example = literalExample ''
|
||||
example = literalExpression ''
|
||||
{
|
||||
theme = "emacs";
|
||||
box_style = "MINIMAL_DOUBLE_HEAD";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue