2015-01-07 20:31:32 +01:00
|
|
|
{ pkgs }:
|
|
|
|
|
2015-01-10 20:26:08 +01:00
|
|
|
with import ./lib.nix { inherit pkgs; };
|
2015-01-07 20:31:32 +01:00
|
|
|
|
|
|
|
self: super: {
|
|
|
|
|
2015-01-19 12:12:28 +01:00
|
|
|
# Disable GHC 7.10.x core libraries.
|
2015-01-07 20:31:32 +01:00
|
|
|
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-10 18:50:49 +01:00
|
|
|
# We have Cabal 1.22.x.
|
|
|
|
jailbreak-cabal = super.jailbreak-cabal.override { Cabal = null; };
|
2015-01-09 19:17:59 +01:00
|
|
|
|
2015-01-09 19:35:41 +01: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 20:31:32 +01:00
|
|
|
|
2015-01-09 20:57:39 +01:00
|
|
|
# haddock: No input file(s).
|
2015-01-10 20:27:16 +01:00
|
|
|
nats = dontHaddock super.nats;
|
2015-01-09 20:57:39 +01:00
|
|
|
|
2015-01-09 19:53:07 +01:00
|
|
|
# These used to be core packages in GHC 7.8.x.
|
2015-01-08 11:55:39 +01:00
|
|
|
old-locale = self.old-locale_1_0_0_7;
|
|
|
|
old-time = self.old-time_1_1_0_3;
|
|
|
|
|
2015-01-09 19:33:10 +01:00
|
|
|
# We have transformers 4.x
|
2015-01-08 11:55:39 +01:00
|
|
|
mtl = self.mtl_2_2_1;
|
2015-01-10 20:27:16 +01:00
|
|
|
transformers-compat = disableCabalFlag super.transformers-compat "three";
|
2015-01-08 11:55:39 +01:00
|
|
|
|
2015-01-09 22:24:38 +01:00
|
|
|
# We have time 1.5
|
2015-01-10 20:27:16 +01:00
|
|
|
aeson = disableCabalFlag super.aeson "old-locale";
|
2015-01-09 22:24:38 +01:00
|
|
|
|
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";
|
|
|
|
});
|
2015-01-09 19:38:34 +01:00
|
|
|
utf8-string = overrideCabal super.utf8-string (drv: {
|
|
|
|
patchPhase = "sed -i -e 's|base >= 3 && < 4.8|base|' utf8-string.cabal";
|
|
|
|
});
|
2015-01-07 20:31:32 +01:00
|
|
|
|
2015-01-09 22:18:16 +01:00
|
|
|
# bos/attoparsec#92
|
2015-01-10 20:27:16 +01:00
|
|
|
attoparsec = dontCheck super.attoparsec;
|
2015-01-09 22:18:16 +01:00
|
|
|
|
2015-01-09 19:53:07 +01:00
|
|
|
# Test suite fails with some (seemingly harmless) error.
|
|
|
|
# https://code.google.com/p/scrapyourboilerplate/issues/detail?id=24
|
2015-01-10 20:27:16 +01:00
|
|
|
syb = dontCheck super.syb;
|
2015-01-09 19:53:07 +01:00
|
|
|
|
2015-01-12 15:46:35 +01:00
|
|
|
# Test suite has stricter version bounds
|
|
|
|
retry = dontCheck super.retry;
|
|
|
|
|
2015-01-12 15:58:56 +01:00
|
|
|
# Test suite fails with time >= 1.5
|
|
|
|
http-date = dontCheck super.http-date;
|
|
|
|
|
2015-01-10 11:02:37 +01:00
|
|
|
# Version 1.19.5 fails its test suite.
|
2015-01-10 20:27:16 +01:00
|
|
|
happy = dontCheck super.happy;
|
2015-01-10 11:02:37 +01:00
|
|
|
|
2015-01-23 11:38:49 +01:00
|
|
|
# Test suite fails in "/tokens_bytestring_unicode.g.bin".
|
|
|
|
alex = dontCheck super.alex;
|
|
|
|
|
2015-01-30 18:43:29 +01:00
|
|
|
# Upstream was notified about the over-specified constraint on 'base'
|
|
|
|
# but refused to do anything about it because he "doesn't want to
|
|
|
|
# support a moving target". Go figure.
|
|
|
|
barecheck = doJailbreak super.barecheck;
|
|
|
|
cartel = overrideCabal super.cartel (drv: { doCheck = false; patchPhase = "sed -i -e 's|base >= .*|base|' cartel.cabal"; });
|
|
|
|
|
2015-01-10 11:02:37 +01:00
|
|
|
}
|