From 44da835ac40dab5fd231298b59d83487382d2fab Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sat, 23 Oct 2021 15:05:52 +0200 Subject: add forward compatibility for literalExample deprecation Fixes #367 --- modules/programs/ssh/default.nix | 2 +- modules/programs/vim.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/programs') diff --git a/modules/programs/ssh/default.nix b/modules/programs/ssh/default.nix index af2d76b..f93890f 100644 --- a/modules/programs/ssh/default.nix +++ b/modules/programs/ssh/default.nix @@ -58,7 +58,7 @@ in description = '' The set of system-wide known SSH hosts. ''; - example = literalExample '' + example = literalExpression '' [ { hostNames = [ "myhost" "myhost.mydomain.com" "10.10.1.4" ]; diff --git a/modules/programs/vim.nix b/modules/programs/vim.nix index bceae54..345532e 100644 --- a/modules/programs/vim.nix +++ b/modules/programs/vim.nix @@ -31,7 +31,7 @@ in programs.vim.extraKnownPlugins = mkOption { type = types.attrsOf types.package; default = {}; - example = literalExample + example = literalExpression '' { vim-jsx = pkgs.vimUtils.buildVimPluginFrom2Nix { -- cgit v1.2.3