2015-01-07 20:31:32 +01:00
|
|
|
{ pkgs }:
|
|
|
|
|
|
|
|
with import ./lib.nix;
|
|
|
|
|
|
|
|
self: super: {
|
|
|
|
|
|
|
|
# Disable GHC 7.9.x core libraries.
|
|
|
|
array = null;
|
|
|
|
base = null;
|
|
|
|
binary = null;
|
|
|
|
bin-package-db = null;
|
|
|
|
bytestring = null;
|
|
|
|
Cabal = null;
|
|
|
|
containers = null;
|
|
|
|
deepseq = null;
|
|
|
|
directory = null;
|
|
|
|
filepath = null;
|
|
|
|
ghc-prim = null;
|
|
|
|
haskeline = null;
|
|
|
|
hoopl = null;
|
|
|
|
hpc = null;
|
|
|
|
integer-gmp = null;
|
|
|
|
pretty = null;
|
|
|
|
process = null;
|
|
|
|
rts = null;
|
|
|
|
template-haskell = null;
|
|
|
|
terminfo = null;
|
|
|
|
time = null;
|
|
|
|
transformers = null;
|
|
|
|
unix = null;
|
|
|
|
xhtml = null;
|
|
|
|
|
|
|
|
# haddock: internal error: expectJust getPackageDetails
|
|
|
|
mkDerivation = drv: super.mkDerivation (drv // { noHaddock = true; });
|
|
|
|
|
2015-01-08 11:55:39 +01:00
|
|
|
# These used to be a core packages in GHC 7.8.x.
|
|
|
|
old-locale = self.old-locale_1_0_0_7;
|
|
|
|
old-time = self.old-time_1_1_0_3;
|
|
|
|
|
|
|
|
# We have transformers 4.x, so we can use the latest mtl.
|
|
|
|
mtl = self.mtl_2_2_1;
|
|
|
|
|
2015-01-07 20:31:32 +01:00
|
|
|
# Setup: At least the following dependencies are missing: base <4.8
|
|
|
|
hspec-expectations = overrideCabal super.hspec-expectations (drv: {
|
|
|
|
patchPhase = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal";
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|