Replace usage of literalExample

Instead use the new function `literalExpression`. See

  https://github.com/NixOS/nixpkgs/pull/136909
This commit is contained in:
Naïm Favier
2021-10-09 11:14:08 +02:00
committed by Robert Helgesson
parent 468c461139
commit bd11e2c5e6
148 changed files with 335 additions and 335 deletions

View File

@@ -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";