* allow configuration of mysql version

svn path=/nixos/trunk/; revision=18993
This commit is contained in:
Rob Vermaas 2009-12-16 14:54:36 +00:00
parent 0d095de38a
commit 52284859c5

View File

@ -6,7 +6,7 @@ let
cfg = config.services.mysql; cfg = config.services.mysql;
mysql = pkgs.mysql; mysql = cfg.mysql;
pidFile = "${cfg.pidDir}/mysqld.pid"; pidFile = "${cfg.pidDir}/mysqld.pid";
@ -31,6 +31,13 @@ in
"; ";
}; };
mysql = mkOption {
default = pkgs.mysql;
description = "
Which MySQL derivation to use.
";
};
port = mkOption { port = mkOption {
default = "3306"; default = "3306";
description = "Port of MySQL"; description = "Port of MySQL";