@@ -181,8 +181,6 @@ self: super: {
181181 # lens-family-th >= 0.5.0.0 is GHC 8.0 only
182182 lens-family-th = self.lens-family-th_0_4_1_0;
183183
184− # cereal must have `fail` in pre-ghc-8.0.x versions
185− cereal = addBuildDepend super.cereal self.fail;
186184
187185 # The tests in vty-ui do not build, but vty-ui itself builds.
188186 vty-ui = enableCabalFlag super.vty-ui "no-tests";
@@ -210,6 +208,10 @@ self: super: {
210208 intervals = addBuildDepends super.intervals (with self; [doctest QuickCheck]);
211209 Glob_0_7_9 = addBuildDepends super.Glob_0_7_9 (with self; [semigroups]);
212210 Glob = addBuildDepends super.Glob (with self; [semigroups]);
211+ # cereal must have `fail` in pre-ghc-8.0.x versions
212+ # also tests require bytestring>=0.10.8.1
213+ cereal = dontCheck (addBuildDepend super.cereal self.fail);
214+ cereal_0_5_2_0 = dontCheck (addBuildDepend super.cereal_0_5_2_0 self.fail);
213215
214216 # Moved out from common as no longer the case for GHC8
215217 ghc-mod = super.ghc-mod.override { cabal-helper = self.cabal-helper_0_6_3_1; };