2015-01-07 19:31:32 +00: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;
|
|
|
|
|
2015-01-09 18:17:59 +00:00
|
|
|
# We cannot build jailbreak without Cabal 1.20.x, and we cannot build
|
|
|
|
# Cabal 1.20.x without jailbreak. Go figure. Let's use a sledgehammer.
|
|
|
|
jailbreak-cabal = pkgs.haskellngPackages.jailbreak-cabal;
|
|
|
|
|
2015-01-09 18:35:41 +00:00
|
|
|
# GHC 7.10.x's Haddock binary cannot generate hoogle files.
|
|
|
|
# https://ghc.haskell.org/trac/ghc/ticket/9921
|
|
|
|
mkDerivation = drv: super.mkDerivation (drv // { doHoogle = false; });
|
2015-01-07 19:31:32 +00:00
|
|
|
|
2015-01-09 19:57:39 +00:00
|
|
|
# haddock: No input file(s).
|
|
|
|
nats = overrideCabal super.nats (drv: {
|
|
|
|
noHaddock = true;
|
|
|
|
});
|
|
|
|
|
2015-01-09 18:53:07 +00:00
|
|
|
# These used to be core packages in GHC 7.8.x.
|
2015-01-08 10:55:39 +00:00
|
|
|
old-locale = self.old-locale_1_0_0_7;
|
|
|
|
old-time = self.old-time_1_1_0_3;
|
|
|
|
|
2015-01-09 18:33:10 +00:00
|
|
|
# We have transformers 4.x
|
2015-01-08 10:55:39 +00:00
|
|
|
mtl = self.mtl_2_2_1;
|
2015-01-09 18:33:10 +00:00
|
|
|
transformers-compat = overrideCabal super.transformers-compat (drv: {
|
|
|
|
configureFlags = [];
|
|
|
|
});
|
2015-01-08 10:55:39 +00:00
|
|
|
|
2015-01-09 21:24:38 +00:00
|
|
|
# We have time 1.5
|
|
|
|
aeson = overrideCabal super.aeson (drv: {
|
|
|
|
configureFlags = [];
|
|
|
|
});
|
|
|
|
|
2015-01-07 19:31:32 +00: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";
|
|
|
|
});
|
2015-01-09 18:38:34 +00:00
|
|
|
utf8-string = overrideCabal super.utf8-string (drv: {
|
|
|
|
patchPhase = "sed -i -e 's|base >= 3 && < 4.8|base|' utf8-string.cabal";
|
|
|
|
});
|
2015-01-07 19:31:32 +00:00
|
|
|
|
2015-01-09 21:18:16 +00:00
|
|
|
# bos/attoparsec#92
|
|
|
|
attoparsec = overrideCabal super.attoparsec (drv: { doCheck = false; });
|
|
|
|
|
2015-01-09 22:02:42 +00:00
|
|
|
# test suite hangs silently for at least 10 minutes
|
|
|
|
split = overrideCabal super.split (drv: { doCheck = false; });
|
|
|
|
|
2015-01-09 18:53:07 +00:00
|
|
|
# Test suite fails with some (seemingly harmless) error.
|
|
|
|
# https://code.google.com/p/scrapyourboilerplate/issues/detail?id=24
|
|
|
|
syb = overrideCabal super.syb (drv: { doCheck = false; });
|
|
|
|
|
|
|
|
# doctest doesn't work with GHC 7.10.x.
|
|
|
|
# https://github.com/sol/doctest/issues/94
|
|
|
|
cabal2nix = overrideCabal super.cabal2nix (drv: { doCheck = false; });
|
2015-01-09 19:07:36 +00:00
|
|
|
comonad = overrideCabal super.comonad (drv: { doCheck = false; });
|
|
|
|
distributive = overrideCabal super.distributive (drv: { doCheck = false; });
|
2015-01-09 18:53:07 +00:00
|
|
|
hackage-db = overrideCabal super.hackage-db (drv: { doCheck = false; });
|
|
|
|
hsemail = overrideCabal super.hsemail (drv: { doCheck = false; });
|
2015-01-09 19:57:39 +00:00
|
|
|
http-types = overrideCabal super.http-types (drv: { doCheck = false; });
|
|
|
|
lens = overrideCabal super.lens (drv: { doCheck = false; });
|
2015-01-07 19:31:32 +00:00
|
|
|
}
|