summary refs log tree commit diff
path: root/nixos/modules/services/databases
diff options
context:
space:
mode:
authorSarah Brofeldt <sbrofeldt@gmail.com>2018-02-20 21:45:49 +0100
committerProfpatsch <mail@profpatsch.de>2018-02-24 20:07:55 +0100
commit2ea8f8acdf6c5869299c2d8c210824ccbac5fef3 (patch)
treecbc06b89446037640196434220de40baf34bdb2c /nixos/modules/services/databases
parentb7a6c54851f09f24077c28713af94d4ba099ae38 (diff)
downloadnixpkgs-2ea8f8acdf6c5869299c2d8c210824ccbac5fef3.tar
nixpkgs-2ea8f8acdf6c5869299c2d8c210824ccbac5fef3.tar.gz
nixpkgs-2ea8f8acdf6c5869299c2d8c210824ccbac5fef3.tar.bz2
nixpkgs-2ea8f8acdf6c5869299c2d8c210824ccbac5fef3.tar.lz
nixpkgs-2ea8f8acdf6c5869299c2d8c210824ccbac5fef3.tar.xz
nixpkgs-2ea8f8acdf6c5869299c2d8c210824ccbac5fef3.tar.zst
nixpkgs-2ea8f8acdf6c5869299c2d8c210824ccbac5fef3.zip
nixos/mysql: Unbreak initial database creation
Diffstat (limited to 'nixos/modules/services/databases')
-rw-r--r--nixos/modules/services/databases/mysql.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/databases/mysql.nix b/nixos/modules/services/databases/mysql.nix
index 5b739050355..cfd7b4d3b69 100644
--- a/nixos/modules/services/databases/mysql.nix
+++ b/nixos/modules/services/databases/mysql.nix
@@ -289,10 +289,10 @@ in
                     # Create initial databases
                     if ! test -e "${cfg.dataDir}/${database.name}"; then
                         echo "Creating initial database: ${database.name}"
-                        ( echo "create database `${database.name}`;"
+                        ( echo 'create database `${database.name}`;'
 
                           ${optionalString (database ? "schema") ''
-                          echo "use `${database.name}`;"
+                          echo 'use `${database.name}`;'
 
                           if [ -f "${database.schema}" ]
                           then