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
|
|
@ -36,7 +36,7 @@ in {
|
|||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.terminator;
|
||||
example = literalExample "pkgs.terminator";
|
||||
example = literalExpression "pkgs.terminator";
|
||||
description = "terminator package to install.";
|
||||
};
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ in {
|
|||
man page.
|
||||
'';
|
||||
type = types.attrsOf types.anything;
|
||||
example = literalExample ''
|
||||
example = literalExpression ''
|
||||
{
|
||||
global_config.borderless = true;
|
||||
profiles.default.background_color = "#002b36";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue