git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/mysql: fix ensureUsers example formatting

closes #50441

commit23dfa4e0737895e43e4d936f94b2582526103b7e authorRyan Mulligan <ryan@ryantm.com> dateThu 15 Nov 2018, 17:46 (8 years ago) parent5dea8fa
1 file changed+2−2
nixos/modules/services/databases/mysql.nix+2−2
nixos/modules/services/databases/mysql.nix+2−2
@@ -147,7 +147,7 @@ in
147147 option is changed. This means that users created and permissions assigned once through this option or
148148 otherwise have to be removed manually.
149149 '';
150− example = [
150+ example = literalExample ''[
151151 {
152152 name = "nextcloud";
153153 ensurePermissions = {
@@ -160,7 +160,7 @@ in
160160 "*.*" = "SELECT, LOCK TABLES";
161161 };
162162 }
163− ];
163+ ]'';
164164 };
165165
166166 # FIXME: remove this option; it's a really bad idea.