diff --git a/mssql-simple.cabal b/mssql-simple.cabal
--- a/mssql-simple.cabal
+++ b/mssql-simple.cabal
@@ -1,11 +1,11 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.35.1.
+-- This file has been generated from package.yaml by hpack version 0.36.0.
 --
 -- see: https://github.com/sol/hpack
 
 name:           mssql-simple
-version:        0.6.0.4
+version:        0.6.0.5
 synopsis:       SQL Server client library implemented in Haskell
 description:    Please see the README on GitHub at <https://github.com/mitsuji/mssql-simple#readme>
 category:       Database
@@ -52,6 +52,7 @@
     , text
     , time
     , tls
+    , transformers
     , uuid-types
   default-language: Haskell2010
 
@@ -76,5 +77,6 @@
     , text
     , time
     , tls
+    , transformers
     , uuid-types
   default-language: Haskell2010
diff --git a/src/Database/MSSQLServer/Query/ResultSet.hs b/src/Database/MSSQLServer/Query/ResultSet.hs
--- a/src/Database/MSSQLServer/Query/ResultSet.hs
+++ b/src/Database/MSSQLServer/Query/ResultSet.hs
@@ -21,6 +21,9 @@
 
 #if MIN_VERSION_mtl(2,2,1)
 import Control.Monad.Except
+#if MIN_VERSION_mtl(2,3,0)
+import Control.Monad.Trans.Class (lift)
+#endif
 #else
 import Control.Monad.Error
 #endif
diff --git a/src/Database/MSSQLServer/Query/RpcResponseSet.hs b/src/Database/MSSQLServer/Query/RpcResponseSet.hs
--- a/src/Database/MSSQLServer/Query/RpcResponseSet.hs
+++ b/src/Database/MSSQLServer/Query/RpcResponseSet.hs
@@ -24,6 +24,9 @@
 
 #if MIN_VERSION_mtl(2,2,1)
 import Control.Monad.Except
+#if MIN_VERSION_mtl(2,3,0)
+import Control.Monad.Trans.Class (lift)
+#endif
 #else
 import Control.Monad.Error
 runExceptT = runErrorT
