summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Marko <srk@48.io>2021-02-12 09:10:25 +0100
committerRaphael Megzari <raphael@megzari.com>2021-05-17 18:03:04 +0900
commit29158fc0ac28d3a826b57754552034d8030df199 (patch)
treeb26fd036eaf4063cfa9659975b4e13cdd3ca3917
parent734790006a73879bd15dd4601a85c0c646a75065 (diff)
downloadnixpkgs-29158fc0ac28d3a826b57754552034d8030df199.tar
nixpkgs-29158fc0ac28d3a826b57754552034d8030df199.tar.gz
nixpkgs-29158fc0ac28d3a826b57754552034d8030df199.tar.bz2
nixpkgs-29158fc0ac28d3a826b57754552034d8030df199.tar.lz
nixpkgs-29158fc0ac28d3a826b57754552034d8030df199.tar.xz
nixpkgs-29158fc0ac28d3a826b57754552034d8030df199.tar.zst
nixpkgs-29158fc0ac28d3a826b57754552034d8030df199.zip
nixos/postgresql: fix description of ensureUsers.ensurePermissions
`attrName` and `attrValue` are now in correct order.
-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 fdc05312ece..effc9182472 100644
--- a/nixos/modules/services/databases/postgresql.nix
+++ b/nixos/modules/services/databases/postgresql.nix
@@ -159,7 +159,7 @@ in
                 For more information on how to specify the target
                 and on which privileges exist, see the
                 <link xlink:href="https://www.postgresql.org/docs/current/sql-grant.html">GRANT syntax</link>.
-                The attributes are used as <code>GRANT ''${attrName} ON ''${attrValue}</code>.
+                The attributes are used as <code>GRANT ''${attrValue} ON ''${attrName}</code>.
               '';
               example = literalExample ''
                 {