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/security/pki/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/security') diff --git a/modules/security/pki/default.nix b/modules/security/pki/default.nix index b6e99d2..4f3cf30 100644 --- a/modules/security/pki/default.nix +++ b/modules/security/pki/default.nix @@ -24,7 +24,7 @@ in security.pki.certificateFiles = mkOption { type = types.listOf types.path; default = []; - example = literalExample "[ \"\${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt\" ]"; + example = literalExpression "[ \"\${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt\" ]"; description = '' A list of files containing trusted root certificates in PEM format. These are concatenated to form @@ -37,7 +37,7 @@ in security.pki.certificates = mkOption { type = types.listOf types.str; default = []; - example = literalExample '' + example = literalExpression '' [ ''' NixOS.org ========= -- cgit v1.2.3