diff --git a/range.cabal b/range.cabal
--- a/range.cabal
+++ b/range.cabal
@@ -10,7 +10,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.2.1.0
+version:             0.2.1.1
 
 -- A short (one-line) description of the package.
 synopsis:            An efficient and versatile range library.
@@ -74,7 +74,11 @@
   -- Other library packages from which modules are imported.
   build-depends:  base >= 4.7 && < 5
                   , parsec >= 3
-                  , free >=4.12
+
+  if impl(ghc < 8)
+    build-depends: free >= 4.12 && < 5
+  else
+    build-depends: free >= 4.12
 
   ghc-options: -Wall
 
