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
|
|
@ -17,7 +17,7 @@ in {
|
|||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.nushell;
|
||||
defaultText = literalExample "pkgs.nushell";
|
||||
defaultText = literalExpression "pkgs.nushell";
|
||||
description = "The package to use for nushell.";
|
||||
};
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ in {
|
|||
entries = entryOrAttrsOf (entryOrAttrsOf entry);
|
||||
in attrsOf entries // { description = "Nushell configuration"; };
|
||||
default = { };
|
||||
example = literalExample ''
|
||||
example = literalExpression ''
|
||||
{
|
||||
edit_mode = "vi";
|
||||
startup = [ "alias la [] { ls -a }" "alias e [msg] { echo $msg }" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue