mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
* allow configuration of mysql version
svn path=/nixos/trunk/; revision=18993
This commit is contained in:
parent
0d095de38a
commit
52284859c5
1 changed files with 8 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue