diff --git a/rethinkdb.cabal b/rethinkdb.cabal
--- a/rethinkdb.cabal
+++ b/rethinkdb.cabal
@@ -1,5 +1,5 @@
 name: rethinkdb
-version: 2.2.0.4
+version: 2.2.0.5
 cabal-version: >=1.8
 build-type: Simple
 license: Apache
@@ -22,7 +22,7 @@
 
 library
     build-depends:
-        base >=4 && <4.9,
+        base >=4 && <4.10,
         unordered-containers ==0.2.*,
         text >=0.11 && <1.3,
         aeson >=0.7 && <0.12,
@@ -32,9 +32,9 @@
         network >=2.4 && <2.7,
         mtl >=2.1 && <2.3,
         vector >=0.10 && <0.12,
-        time >=1.4 && <1.6,
+        time >=1.4 && <1.7,
         utf8-string >=0.3 && <1.1,
-        binary >=0.5 && <0.8,
+        binary >=0.5 && <0.9,
         scientific ==0.3.*,
         base64-bytestring ==1.0.*
 
@@ -66,7 +66,11 @@
         Database.RethinkDB.Doctest
     exposed: True
     buildable: True
-    ghc-options: -Wall
+
+    if impl(ghc > 8)
+        ghc-options: -Wall -Wno-redundant-constraints
+    else
+        ghc-options: -Wall
 
 test-suite doctests
     build-depends:
