@@ -27,8 +27,10 @@ self: super: {
2727 ghcjs-base = null;
2828 ghcjs-prim = null;
2929
30− # Some packages need a non-core version of Cabal.
31− cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_1_24_2_0; });
30+ # cabal-install needs Cabal 2.x. hackage-security's test suite does not compile with
31+ # Cabal 2.x, though. See https://github.com/haskell/hackage-security/issues/188.
32+ cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_2_0_0_2; });
33+ hackage-security = dontCheck super.hackage-security;
3234
3335 # Link statically to avoid runtime dependency on GHC.
3436 jailbreak-cabal = (disableSharedExecutables super.jailbreak-cabal).override { Cabal = self.Cabal_1_20_0_4; };