From 52284859c53d6bb064a1f7f8babd2198f973c1ba Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Wed, 16 Dec 2009 14:54:36 +0000 Subject: [PATCH] * allow configuration of mysql version svn path=/nixos/trunk/; revision=18993 --- modules/services/databases/mysql.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/services/databases/mysql.nix b/modules/services/databases/mysql.nix index 31d5676b8d7..cb7f7fe30ab 100644 --- a/modules/services/databases/mysql.nix +++ b/modules/services/databases/mysql.nix @@ -6,7 +6,7 @@ let cfg = config.services.mysql; - mysql = pkgs.mysql; + mysql = cfg.mysql; pidFile = "${cfg.pidDir}/mysqld.pid"; @@ -31,6 +31,13 @@ in "; }; + mysql = mkOption { + default = pkgs.mysql; + description = " + Which MySQL derivation to use. + "; + }; + port = mkOption { default = "3306"; description = "Port of MySQL";