summary refs log tree commit diff
path: root/nixos/modules/services/databases
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-23 20:06:39 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-23 20:08:23 +0200
commita3777ba4f959ae7fa10561b953c6e10add125fa8 (patch)
treea0d4298f294032e5d8f14e172f7c75be3040c0a2 /nixos/modules/services/databases
parent8166b12f0c861f442014433f2e3077522da7dd55 (diff)
downloadnixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar
nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar.gz
nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar.bz2
nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar.lz
nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar.xz
nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.tar.zst
nixlib-a3777ba4f959ae7fa10561b953c6e10add125fa8.zip
Remove dependencies on the Nixpkgs location
Diffstat (limited to 'nixos/modules/services/databases')
-rw-r--r--nixos/modules/services/databases/mysql.nix4
-rw-r--r--nixos/modules/services/databases/mysql55.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/databases/mysql.nix b/nixos/modules/services/databases/mysql.nix
index 663c2cc4505a..8be05a27cdcb 100644
--- a/nixos/modules/services/databases/mysql.nix
+++ b/nixos/modules/services/databases/mysql.nix
@@ -93,8 +93,8 @@ in
         default = [];
         description = "List of database names and their initial schemas that should be used to create databases on the first startup of MySQL";
         example = [
-          { name = "foodatabase"; schema = ./foodatabase.sql; }
-          { name = "bardatabase"; schema = ./bardatabase.sql; }
+          { name = "foodatabase"; schema = literalExample "./foodatabase.sql"; }
+          { name = "bardatabase"; schema = literalExample "./bardatabase.sql"; }
         ];
       };
 
diff --git a/nixos/modules/services/databases/mysql55.nix b/nixos/modules/services/databases/mysql55.nix
index 46148d68f4c6..fe8b29e3c6b7 100644
--- a/nixos/modules/services/databases/mysql55.nix
+++ b/nixos/modules/services/databases/mysql55.nix
@@ -86,8 +86,8 @@ in
         default = [];
         description = "List of database names and their initial schemas that should be used to create databases on the first startup of MySQL";
         example = [
-          { name = "foodatabase"; schema = ./foodatabase.sql; }
-          { name = "bardatabase"; schema = ./bardatabase.sql; }
+          { name = "foodatabase"; schema = literalExample "./foodatabase.sql"; }
+          { name = "bardatabase"; schema = literalExample "./bardatabase.sql"; }
         ];
       };