diff --git a/exceptions.cabal b/exceptions.cabal
index 1433cc8413ceaf625d424027aa4160bee4e7e052..8b3254b89fa85f71eb37050f9ebfc80143a227a2 100644
--- a/exceptions.cabal
+++ b/exceptions.cabal
@@ -49,7 +49,7 @@ library
   build-depends:
     base                       >= 4.5      && < 5,
     stm                        >= 2.2      && < 3,
-    template-haskell           >= 2.7      && < 2.21,
+    template-haskell           >= 2.7      && < 2.22,
     mtl                        >= 2.0      && < 2.4
 
   if !impl(ghc >= 8.0)