* allow configuration of mysql version
svn path=/nixos/trunk/; revision=18993
This commit is contained in:
parent
0d095de38a
commit
52284859c5
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user