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
|
|
@ -117,7 +117,7 @@ in {
|
|||
cmdKeybindings = mkOption {
|
||||
type = with types; attrsOf (nullOr str);
|
||||
default = { };
|
||||
example = literalExample ''{ "<c-g>" = "cmd-escape"; }'';
|
||||
example = literalExpression ''{ "<c-g>" = "cmd-escape"; }'';
|
||||
description = ''
|
||||
Keys to bind to command line commands which can only be one of the
|
||||
builtin commands. Keys set to null or an empty string are deleted.
|
||||
|
|
@ -127,7 +127,7 @@ in {
|
|||
previewer.source = mkOption {
|
||||
type = with types; nullOr path;
|
||||
default = null;
|
||||
example = literalExample ''
|
||||
example = literalExpression ''
|
||||
pkgs.writeShellScript "pv.sh" '''
|
||||
#!/bin/sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue