about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2023-10-09 17:38:25 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2023-10-09 17:41:44 +0200
commit9f1d4b79e3f02e95423aebdaa0c0cd7ffc984065 (patch)
tree6a3833a0f85df4dd011664888440b1fa3dd9f40b /nixos/modules
parent0e5b425086cca13a4a808c8ff6929715d4f8ed3d (diff)
downloadnixlib-9f1d4b79e3f02e95423aebdaa0c0cd7ffc984065.tar
nixlib-9f1d4b79e3f02e95423aebdaa0c0cd7ffc984065.tar.gz
nixlib-9f1d4b79e3f02e95423aebdaa0c0cd7ffc984065.tar.bz2
nixlib-9f1d4b79e3f02e95423aebdaa0c0cd7ffc984065.tar.lz
nixlib-9f1d4b79e3f02e95423aebdaa0c0cd7ffc984065.tar.xz
nixlib-9f1d4b79e3f02e95423aebdaa0c0cd7ffc984065.tar.zst
nixlib-9f1d4b79e3f02e95423aebdaa0c0cd7ffc984065.zip
nixos/postgresql: fix `identMap` example
This was causing the following warning before when building the manual:

    warning: literalExample is deprecated, use literalExpression instead, or use literalMD for a non-Nix description.

Rather than using `literalExpression`, nothing is used. This option
expects a string and the example is a string, no special handling
required. Both `literalExample` from the docbook ages and
`literalExpression` now are only required if the example is
a Nix expression rather than a value of the option's type.
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/databases/postgresql.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix
index 7b30360590ec..7a4fa708eadf 100644
--- a/nixos/modules/services/databases/postgresql.nix
+++ b/nixos/modules/services/databases/postgresql.nix
@@ -106,7 +106,7 @@ in
       identMap = mkOption {
         type = types.lines;
         default = "";
-        example = literalExample ''
+        example = ''
           map-name-0 system-username-0 database-username-0
           map-name-1 system-username-1 database-username-1
         '';