mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
Replace usage of literalExample
Instead use the new function `literalExpression`. See https://github.com/NixOS/nixpkgs/pull/136909
This commit is contained in:
committed by
Robert Helgesson
parent
468c461139
commit
bd11e2c5e6
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user