2018-07-04 08:46:07 +00:00
|
|
|
{ pkgs, haskellLib }:
|
|
|
|
|
|
|
|
with haskellLib;
|
|
|
|
|
|
|
|
self: super: {
|
|
|
|
|
2018-07-16 08:55:17 +00:00
|
|
|
# This compiler version needs llvm 5.x.
|
|
|
|
llvmPackages = pkgs.llvmPackages_5;
|
2018-07-04 08:46:07 +00:00
|
|
|
|
|
|
|
# Disable GHC 8.6.x core libraries.
|
|
|
|
array = null;
|
|
|
|
base = null;
|
|
|
|
binary = null;
|
|
|
|
bytestring = null;
|
|
|
|
Cabal = null;
|
|
|
|
containers = null;
|
|
|
|
deepseq = null;
|
|
|
|
directory = null;
|
|
|
|
filepath = null;
|
|
|
|
ghc-boot = null;
|
|
|
|
ghc-boot-th = null;
|
|
|
|
ghc-compact = null;
|
|
|
|
ghc-heap = null;
|
|
|
|
ghc-prim = null;
|
|
|
|
ghci = null;
|
|
|
|
haskeline = null;
|
|
|
|
hpc = null;
|
|
|
|
integer-gmp = null;
|
|
|
|
libiserv = null;
|
|
|
|
mtl = null;
|
|
|
|
parsec = null;
|
|
|
|
pretty = null;
|
|
|
|
process = null;
|
|
|
|
rts = null;
|
|
|
|
stm = null;
|
|
|
|
template-haskell = null;
|
|
|
|
terminfo = null;
|
|
|
|
text = null;
|
|
|
|
time = null;
|
|
|
|
transformers = null;
|
|
|
|
unix = null;
|
|
|
|
xhtml = null;
|
|
|
|
|
|
|
|
# Use to be a core-library, but no longer is since GHC 8.4.x.
|
|
|
|
hoopl = self.hoopl_3_10_2_2;
|
|
|
|
|
2018-09-24 19:13:11 +00:00
|
|
|
# LTS-12.x versions do not compile.
|
2018-10-03 09:13:55 +00:00
|
|
|
base-orphans = self.base-orphans_0_8;
|
2018-10-19 09:53:20 +00:00
|
|
|
brick = doJailbreak super.brick_0_41_2; # https://github.com/jtdaugherty/brick/pull/188
|
2018-10-19 09:16:44 +00:00
|
|
|
cassava-megaparsec = doJailbreak super.cassava-megaparsec;
|
2018-10-19 09:10:09 +00:00
|
|
|
config-ini = doJailbreak super.config-ini; # https://github.com/aisamanra/config-ini/issues/18
|
2018-09-24 19:13:11 +00:00
|
|
|
contravariant = self.contravariant_1_5;
|
2018-10-03 09:13:55 +00:00
|
|
|
free = self.free_5_1;
|
2018-10-18 12:57:00 +00:00
|
|
|
haddock-library = dontCheck super.haddock-library_1_7_0;
|
2018-10-19 12:15:37 +00:00
|
|
|
HaTeX = doJailbreak super.HaTeX;
|
2018-10-19 09:39:29 +00:00
|
|
|
hledger = doJailbreak super.hledger;
|
2018-10-19 09:27:16 +00:00
|
|
|
hledger-lib = doJailbreak super.hledger-lib;
|
2018-10-19 09:55:03 +00:00
|
|
|
hledger-ui = doJailbreak super.hledger-ui;
|
2018-10-18 12:57:00 +00:00
|
|
|
hpack = self.hpack_0_31_0;
|
2018-10-19 08:21:24 +00:00
|
|
|
hslua = self.hslua_1_0_1;
|
|
|
|
hslua-module-text = self.hslua-module-text_0_2_0;
|
2018-10-01 08:27:30 +00:00
|
|
|
hspec = self.hspec_2_5_8;
|
|
|
|
hspec-core = self.hspec-core_2_5_8;
|
|
|
|
hspec-discover = self.hspec-discover_2_5_8;
|
2018-10-19 09:13:50 +00:00
|
|
|
hspec-megaparsec = doJailbreak super.hspec-megaparsec; # newer versions need megaparsec 7.x
|
2018-09-24 19:13:11 +00:00
|
|
|
hspec-meta = self.hspec-meta_2_5_6;
|
2018-10-18 12:57:00 +00:00
|
|
|
JuicyPixels = self.JuicyPixels_3_3_2;
|
2018-10-03 09:21:47 +00:00
|
|
|
lens = self.lens_4_17;
|
2018-10-19 09:12:35 +00:00
|
|
|
megaparsec = dontCheck (doJailbreak super.megaparsec);
|
2018-10-19 09:37:04 +00:00
|
|
|
neat-interpolation = dontCheck super.neat-interpolation; # test suite depends on broken HTF
|
2018-10-18 12:57:00 +00:00
|
|
|
patience = markBrokenVersion "0.1.1" super.patience;
|
2018-07-17 17:44:21 +00:00
|
|
|
primitive = self.primitive_0_6_4_0;
|
2018-10-18 12:57:00 +00:00
|
|
|
QuickCheck = self.QuickCheck_2_12_6_1;
|
2018-10-02 19:13:34 +00:00
|
|
|
semigroupoids = self.semigroupoids_5_3_1;
|
2018-07-17 17:44:21 +00:00
|
|
|
tagged = self.tagged_0_8_6;
|
2018-10-19 09:51:38 +00:00
|
|
|
vty = self.vty_5_25;
|
2018-10-19 09:31:53 +00:00
|
|
|
wizards = doJailbreak super.wizards;
|
2018-10-19 12:14:06 +00:00
|
|
|
wl-pprint-extras = doJailbreak super.wl-pprint-extras;
|
2018-10-18 12:57:00 +00:00
|
|
|
yaml = self.yaml_0_11_0_0;
|
2018-07-17 17:44:21 +00:00
|
|
|
|
2018-10-18 12:57:00 +00:00
|
|
|
# https://github.com/tibbe/unordered-containers/issues/214
|
|
|
|
unordered-containers = dontCheck super.unordered-containers;
|
2018-07-17 17:44:21 +00:00
|
|
|
|
2018-09-27 15:00:22 +00:00
|
|
|
# https://github.com/haskell/fgl/issues/79
|
|
|
|
# https://github.com/haskell/fgl/issues/81
|
2018-10-19 10:16:12 +00:00
|
|
|
fgl = appendPatch (overrideCabal super.fgl (drv: { editedCabalFile = null; })) ./patches/fgl-monad-fail.patch;
|
2018-09-27 15:00:22 +00:00
|
|
|
|
2018-10-18 12:57:00 +00:00
|
|
|
# Test suite does not compile.
|
|
|
|
cereal = dontCheck super.cereal;
|
2018-10-19 09:02:50 +00:00
|
|
|
data-clist = doJailbreak super.data-clist; # won't cope with QuickCheck 2.12.x
|
2018-10-18 12:57:00 +00:00
|
|
|
Diff = dontCheck super.Diff;
|
|
|
|
http-api-data = doJailbreak super.http-api-data;
|
2018-10-19 09:06:52 +00:00
|
|
|
lucid = doJailbreak super.lucid;
|
2018-10-18 12:57:00 +00:00
|
|
|
persistent-sqlite = dontCheck super.persistent-sqlite;
|
|
|
|
psqueues = dontCheck super.psqueues; # won't cope with QuickCheck 2.12.x
|
|
|
|
system-fileio = dontCheck super.system-fileio; # avoid dependency on broken "patience"
|
|
|
|
unicode-transforms = dontCheck super.unicode-transforms;
|
2018-10-19 09:32:17 +00:00
|
|
|
monad-par = dontCheck super.monad-par; # https://github.com/simonmar/monad-par/issues/66
|
2018-10-18 12:57:00 +00:00
|
|
|
|
|
|
|
# https://github.com/bmillwood/haskell-src-meta/pull/80
|
|
|
|
haskell-src-meta = doJailbreak super.haskell-src-meta;
|
|
|
|
|
|
|
|
# The official 1.12 release is broken and unmaintained.
|
|
|
|
polyparse = appendPatch (overrideCabal super.polyparse (drv: { editedCabalFile = null; })) (pkgs.fetchpatch {
|
|
|
|
url = https://github.com/bergmark/polyparse/commit/8a69ee7e57db798c106d8b56dce05b1dfc4fed37.patch;
|
|
|
|
sha256 = "11r73wx1w6bfrkrnk6r9k7rfzp6qrvkdikb2by37ld06c0w6nn57";
|
|
|
|
});
|
|
|
|
|
2018-10-19 08:10:55 +00:00
|
|
|
# https://github.com/skogsbaer/HTF/issues/69
|
|
|
|
HTF = markBrokenVersion "0.13.2.4" super.HTF;
|
|
|
|
|
2018-10-19 08:22:13 +00:00
|
|
|
# https://github.com/jgm/pandoc-types/issues/52
|
|
|
|
pandoc-types = doJailbreak super.pandoc-types;
|
|
|
|
|
2018-10-19 08:26:24 +00:00
|
|
|
#
|
|
|
|
skylighting-core = dontCheck super.skylighting-core;
|
|
|
|
|
2018-10-19 08:35:41 +00:00
|
|
|
# https://github.com/joelburget/easytest/issues/12
|
|
|
|
easytest = appendPatch super.easytest (pkgs.fetchpatch {
|
|
|
|
url = https://github.com/joelburget/easytest/pull/13.patch;
|
|
|
|
sha256 = "0gnsgga8x2yxyg27pya6rhmxfsxf167vsi4xdj98fn8v0j7zz1v1";
|
|
|
|
});
|
|
|
|
|
2018-10-19 08:41:11 +00:00
|
|
|
# https://github.com/jgm/pandoc/issues/4974
|
|
|
|
pandoc = doJailbreak super.pandoc_2_3_1;
|
|
|
|
|
2018-10-19 09:38:27 +00:00
|
|
|
# Break out of "yaml >=0.10.4.0 && <0.11".
|
|
|
|
stack = doJailbreak super.stack;
|
|
|
|
|
2018-10-19 12:24:05 +00:00
|
|
|
# https://github.com/vimus/libmpd-haskell/issues/109
|
|
|
|
xmobar = disableCabalFlag (super.xmobar.override { libmpd = null; }) "with_mpd";
|
|
|
|
|
2018-07-04 08:46:07 +00:00
|
|
|
}
|