2017-08-01 17:44:08 +01:00
|
|
|
{ pkgs, haskellLib }:
|
2015-01-07 19:31:32 +00:00
|
|
|
|
2017-08-01 17:44:08 +01:00
|
|
|
with haskellLib;
|
2015-01-07 19:31:32 +00:00
|
|
|
|
|
|
|
self: super: {
|
|
|
|
|
2015-03-09 19:11:23 +00:00
|
|
|
# Use the latest LLVM.
|
|
|
|
inherit (pkgs) llvmPackages;
|
|
|
|
|
2015-01-19 11:12:28 +00:00
|
|
|
# Disable GHC 7.11.x core libraries.
|
2015-01-07 19:31:32 +00:00
|
|
|
array = null;
|
|
|
|
base = null;
|
|
|
|
binary = null;
|
|
|
|
bin-package-db = null;
|
|
|
|
bytestring = null;
|
|
|
|
Cabal = null;
|
|
|
|
containers = null;
|
|
|
|
deepseq = null;
|
|
|
|
directory = null;
|
|
|
|
filepath = null;
|
2017-09-01 14:48:53 +01:00
|
|
|
ghc-boot = null;
|
|
|
|
ghc-boot-th = null;
|
|
|
|
ghc-compact = null;
|
2015-01-07 19:31:32 +00:00
|
|
|
ghc-prim = null;
|
2016-12-27 13:24:20 +00:00
|
|
|
ghci = null;
|
2015-01-07 19:31:32 +00:00
|
|
|
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;
|
|
|
|
|
2016-01-26 23:17:48 +00:00
|
|
|
# jailbreak-cabal can use the native Cabal library.
|
2017-09-01 14:44:00 +01:00
|
|
|
jailbreak-cabal = pkgs.haskell.packages.ghc802.jailbreak-cabal;
|
2015-01-07 19:31:32 +00:00
|
|
|
|
2015-01-09 19:57:39 +00:00
|
|
|
# haddock: No input file(s).
|
2015-01-10 19:27:16 +00:00
|
|
|
nats = dontHaddock super.nats;
|
2015-06-08 08:48:13 +01:00
|
|
|
bytestring-builder = dontHaddock super.bytestring-builder;
|
|
|
|
|
2015-01-09 21:24:38 +00:00
|
|
|
# We have time 1.5
|
2015-01-10 19:27:16 +00:00
|
|
|
aeson = disableCabalFlag super.aeson "old-locale";
|
2015-01-09 21:24:38 +00:00
|
|
|
|
2015-06-08 08:48:13 +01:00
|
|
|
# Show works differently for record syntax now, breaking haskell-src-exts' parser tests
|
|
|
|
# https://github.com/haskell-suite/haskell-src-exts/issues/224
|
|
|
|
haskell-src-exts = dontCheck super.haskell-src-exts;
|
|
|
|
|
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: {
|
2015-08-06 13:10:48 +01:00
|
|
|
postPatch = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal";
|
2015-01-07 19:31:32 +00:00
|
|
|
});
|
2015-01-09 18:38:34 +00:00
|
|
|
utf8-string = overrideCabal super.utf8-string (drv: {
|
2017-04-21 15:13:42 +01:00
|
|
|
postPatch = "sed -i -e 's|base >= 4.3 && < 4.10|base|' utf8-string.cabal";
|
2015-01-09 18:38:34 +00:00
|
|
|
});
|
2015-01-07 19:31:32 +00:00
|
|
|
|
2015-01-09 21:18:16 +00:00
|
|
|
# bos/attoparsec#92
|
2015-01-10 19:27:16 +00:00
|
|
|
attoparsec = dontCheck super.attoparsec;
|
2015-01-09 21:18:16 +00:00
|
|
|
|
2015-01-09 22:02:42 +00:00
|
|
|
# test suite hangs silently for at least 10 minutes
|
2015-01-10 19:27:16 +00:00
|
|
|
split = dontCheck super.split;
|
2015-01-09 22:02:42 +00:00
|
|
|
|
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
|
2015-01-10 19:27:16 +00:00
|
|
|
syb = dontCheck super.syb;
|
2015-01-09 18:53:07 +00:00
|
|
|
|
2015-01-12 14:46:35 +00:00
|
|
|
# Test suite has stricter version bounds
|
|
|
|
retry = dontCheck super.retry;
|
|
|
|
|
2015-01-12 14:58:56 +00:00
|
|
|
# Test suite fails with time >= 1.5
|
|
|
|
http-date = dontCheck super.http-date;
|
|
|
|
|
2015-01-10 10:02:37 +00:00
|
|
|
# Version 1.19.5 fails its test suite.
|
2015-01-10 19:27:16 +00:00
|
|
|
happy = dontCheck super.happy;
|
2015-01-10 10:02:37 +00:00
|
|
|
|
2015-03-31 14:30:28 +01:00
|
|
|
# Workaround for a workaround, see comment for "ghcjs" flag.
|
|
|
|
jsaddle = let jsaddle' = disableCabalFlag super.jsaddle "ghcjs";
|
|
|
|
in addBuildDepends jsaddle' [ self.glib self.gtk3 self.webkitgtk3
|
|
|
|
self.webkitgtk3-javascriptcore ];
|
|
|
|
|
2015-04-19 18:48:11 +01:00
|
|
|
# The compat library is empty in the presence of mtl 2.2.x.
|
|
|
|
mtl-compat = dontHaddock super.mtl-compat;
|
|
|
|
|
2015-05-29 10:20:12 +01:00
|
|
|
# Won't work with LLVM 3.5.
|
|
|
|
llvm-general = markBrokenVersion "3.4.5.3" super.llvm-general;
|
|
|
|
|
2017-01-07 15:28:48 +00:00
|
|
|
# A bunch of jailbreaks due to 'base' bump
|
2017-04-21 15:16:41 +01:00
|
|
|
old-time = doJailbreak super.old-time;
|
2017-01-07 15:28:48 +00:00
|
|
|
old-locale = doJailbreak super.old-locale;
|
|
|
|
primitive = doJailbreak super.primitive;
|
|
|
|
test-framework = doJailbreak super.test-framework;
|
|
|
|
atomic-primops = doJailbreak (appendPatch super.atomic-primops ./patches/atomic-primops-Cabal-1.25.patch);
|
|
|
|
hashable = doJailbreak super.hashable;
|
|
|
|
stm = doJailbreak super.stm;
|
2015-01-10 10:02:37 +00:00
|
|
|
}
|