From 23dfa4e0737895e43e4d936f94b2582526103b7e Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Thu, 15 Nov 2018 17:46:09 -0800 Subject: nixos/mysql: fix ensureUsers example formatting closes #50441 --- nixos/modules/services/databases/mysql.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/services/databases/mysql.nix') diff --git a/nixos/modules/services/databases/mysql.nix b/nixos/modules/services/databases/mysql.nix index 0dde9ee6e2e..c8545d327af 100644 --- a/nixos/modules/services/databases/mysql.nix +++ b/nixos/modules/services/databases/mysql.nix @@ -147,7 +147,7 @@ in option is changed. This means that users created and permissions assigned once through this option or otherwise have to be removed manually. ''; - example = [ + example = literalExample ''[ { name = "nextcloud"; ensurePermissions = { @@ -160,7 +160,7 @@ in "*.*" = "SELECT, LOCK TABLES"; }; } - ]; + ]''; }; # FIXME: remove this option; it's a really bad idea. -- cgit 1.4.1