diff --git a/nixos/tests/mysql-replication.nix b/nixos/tests/mysql-replication.nix index 28a1187dd184..a68d21c82b41 100644 --- a/nixos/tests/mysql-replication.nix +++ b/nixos/tests/mysql-replication.nix @@ -11,6 +11,7 @@ in { services.mysql.enable = true; + services.mysql.package = pkgs.mysql; services.mysql.replication.role = "master"; services.mysql.initialDatabases = [ { name = "testdb"; schema = ./testdb.sql; } ]; services.mysql.initialScript = pkgs.writeText "initmysql" diff --git a/nixos/tests/mysql.nix b/nixos/tests/mysql.nix index b48850738b72..abdd39092216 100644 --- a/nixos/tests/mysql.nix +++ b/nixos/tests/mysql.nix @@ -9,6 +9,7 @@ services.mysql.enable = true; services.mysql.replication.role = "master"; services.mysql.initialDatabases = [ { name = "testdb"; schema = ./testdb.sql; } ]; + services.mysql.package = pkgs.mysql; }; };