diff --git a/composite-base.cabal b/composite-base.cabal
--- a/composite-base.cabal
+++ b/composite-base.cabal
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.32.0.
+-- This file has been generated from package.yaml by hpack version 0.33.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 2c10b897d91f5a41384f9782bed6e25f102f890fb3bbd5cc3133a036def4d892
+-- hash: 8a796b93d5ebd8ec1452a4dc2d9b7f6bf3c5e45849c264c0530564327a215993
 
 name:           composite-base
-version:        0.7.1.0
+version:        0.7.2.0
 synopsis:       Shared utilities for composite-* packages.
 description:    Shared helpers for the various composite packages.
 category:       Records
@@ -34,16 +34,16 @@
   build-depends:
       base >=4.7 && <5
     , exceptions >=0.8.3 && <0.11
-    , lens >=4.15.4 && <4.18
+    , lens >=4.15.4 && <4.20
     , monad-control >=1.0.2.2 && <1.1
     , mtl >=2.2.1 && <2.3
-    , profunctors >=5.2.1 && <5.4
-    , template-haskell >=2.11.1.0 && <2.15
+    , profunctors >=5.2.1 && <5.6
+    , template-haskell >=2.11.1.0 && <2.17
     , text >=1.2.2.2 && <1.3
     , transformers >=0.5.2.0 && <0.6
     , transformers-base >=0.4.4 && <0.5
-    , unliftio-core >=0.1.0.0 && <0.2.0.0
-    , vinyl >=0.5.3 && <0.13
+    , unliftio-core >=0.1.0.0 && <0.3.0.0
+    , vinyl >=0.5.3 && <0.14
   default-language: Haskell2010
 
 test-suite composite-base-test
@@ -63,14 +63,14 @@
     , composite-base
     , exceptions >=0.8.3 && <0.11
     , hspec
-    , lens >=4.15.4 && <4.18
+    , lens >=4.15.4 && <4.20
     , monad-control >=1.0.2.2 && <1.1
     , mtl >=2.2.1 && <2.3
-    , profunctors >=5.2.1 && <5.4
-    , template-haskell >=2.11.1.0 && <2.15
+    , profunctors >=5.2.1 && <5.6
+    , template-haskell >=2.11.1.0 && <2.17
     , text >=1.2.2.2 && <1.3
     , transformers >=0.5.2.0 && <0.6
     , transformers-base >=0.4.4 && <0.5
-    , unliftio-core >=0.1.0.0 && <0.2.0.0
-    , vinyl >=0.5.3 && <0.13
+    , unliftio-core >=0.1.0.0 && <0.3.0.0
+    , vinyl >=0.5.3 && <0.14
   default-language: Haskell2010
diff --git a/src/Control/Monad/Composite/Context.hs b/src/Control/Monad/Composite/Context.hs
--- a/src/Control/Monad/Composite/Context.hs
+++ b/src/Control/Monad/Composite/Context.hs
@@ -152,7 +152,9 @@
     a <- runContextT clt ctx
     runContextT (k a) ctx
 
+#if !MIN_VERSION_base(4,13,0)
   fail = ContextT . const . fail
+#endif
 
 instance MonadIO m => MonadIO (ContextT c m) where
   liftIO = lift . liftIO
