diff --git a/exceptions.cabal b/exceptions.cabal
index e24b6ea3ac8a486717e6ebb630cff96f92eada8a..9387ae11d5b2a4c82a811ad01a19b3e58dfcfefa 100644
--- a/exceptions.cabal
+++ b/exceptions.cabal
@@ -79,3 +79,5 @@ test-suite exceptions-tests
     test-framework-hunit       >= 0.3      && < 0.4,
     test-framework-quickcheck2 >= 0.3      && < 0.4,
     QuickCheck                 >= 2.5      && < 2.13
+  if !impl(ghc >= 8.0)
+    build-depends: fail        == 4.9.*