From 691f6c4c5907bd0db7b8f64b44d0f000ce4087b5 Mon Sep 17 00:00:00 2001
From: Shea Levy <shea@shealevy.com>
Date: Fri, 28 Feb 2014 06:16:57 -0500
Subject: [PATCH] Fix mysql test evaluation

---
 nixos/tests/mysql-replication.nix | 1 +
 nixos/tests/mysql.nix             | 1 +
 2 files changed, 2 insertions(+)

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;
       };
   };