2019-04-29 16:51:19 +01:00
|
|
|
{ pkgs, haskellLib }:
|
|
|
|
|
|
|
|
with haskellLib;
|
|
|
|
|
|
|
|
self: super: {
|
|
|
|
|
|
|
|
# This compiler version needs llvm 7.x.
|
|
|
|
llvmPackages = pkgs.llvmPackages_7;
|
|
|
|
|
|
|
|
# Disable GHC 8.8.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;
|
|
|
|
|
2019-04-30 10:32:16 +01:00
|
|
|
# Ignore overly restrictive upper version bounds.
|
2019-09-24 16:59:43 +01:00
|
|
|
aeson-diff = doJailbreak super.aeson-diff;
|
2019-05-09 15:52:02 +01:00
|
|
|
async = doJailbreak super.async;
|
2019-08-28 16:25:53 +01:00
|
|
|
cabal-install = doJailbreak super.cabal-install;
|
2019-05-09 15:52:02 +01:00
|
|
|
ChasingBottoms = doJailbreak super.ChasingBottoms;
|
2019-10-06 10:39:18 +01:00
|
|
|
chell = doJailbreak super.chell;
|
2019-05-03 13:05:56 +01:00
|
|
|
cryptohash-sha256 = doJailbreak super.cryptohash-sha256;
|
2019-05-09 15:52:02 +01:00
|
|
|
Diff = dontCheck super.Diff;
|
2019-04-30 10:32:16 +01:00
|
|
|
doctest = doJailbreak super.doctest;
|
2019-05-03 20:38:27 +01:00
|
|
|
hashable = doJailbreak super.hashable;
|
2019-05-09 16:31:20 +01:00
|
|
|
hashable-time = doJailbreak super.hashable-time;
|
2019-08-28 16:25:27 +01:00
|
|
|
hledger-lib = doJailbreak super.hledger-lib; # base >=4.8 && <4.13, easytest >=0.2.1 && <0.3
|
2019-05-09 16:40:20 +01:00
|
|
|
integer-logarithms = doJailbreak super.integer-logarithms;
|
2019-05-09 16:29:25 +01:00
|
|
|
lucid = doJailbreak super.lucid;
|
2019-05-11 10:09:09 +01:00
|
|
|
parallel = doJailbreak super.parallel;
|
2019-05-09 16:43:38 +01:00
|
|
|
quickcheck-instances = doJailbreak super.quickcheck-instances;
|
2019-05-12 09:00:08 +01:00
|
|
|
setlocale = doJailbreak super.setlocale;
|
2019-05-09 15:52:02 +01:00
|
|
|
split = doJailbreak super.split;
|
2019-09-24 16:59:43 +01:00
|
|
|
system-fileio = doJailbreak super.system-fileio;
|
2019-05-09 15:38:24 +01:00
|
|
|
tasty-expected-failure = doJailbreak super.tasty-expected-failure;
|
2019-09-24 16:59:43 +01:00
|
|
|
tasty-hedgehog = doJailbreak super.tasty-hedgehog;
|
2019-05-09 15:52:02 +01:00
|
|
|
test-framework = doJailbreak super.test-framework;
|
2019-09-24 16:59:43 +01:00
|
|
|
th-expand-syns = doJailbreak super.th-expand-syns;
|
2019-04-30 10:32:16 +01:00
|
|
|
|
2019-10-06 10:39:18 +01:00
|
|
|
# use latest version to fix the build
|
|
|
|
hackage-db = self.hackage-db_2_1_0;
|
|
|
|
lens = self.lens_4_18_1;
|
|
|
|
memory = self.memory_0_15_0;
|
|
|
|
microlens = self.microlens_0_4_11_2;
|
|
|
|
optparse-applicative = self.optparse-applicative_0_15_1_0;
|
|
|
|
primitive = dontCheck super.primitive_0_7_0_0; # evaluating the test suite gives an infinite recursion
|
|
|
|
regex-base = self.regex-base_0_94_0_0;
|
|
|
|
regex-pcre-builtin = self.regex-pcre-builtin_0_95_1_1_8_43;
|
|
|
|
regex-posix = self.regex-posix_0_96_0_0;
|
2019-10-06 19:53:29 +01:00
|
|
|
regex-tdfa = self.regex-tdfa_1_3_0;
|
2019-10-06 10:39:18 +01:00
|
|
|
shelly = self.shelly_1_9_0;
|
|
|
|
string-qq = self.string-qq_0_0_4;
|
|
|
|
tls = self.tls_1_5_1;
|
|
|
|
vector-th-unbox = self.vector-th-unbox_0_2_1_7;
|
|
|
|
X11 = self.X11_1_9_1;
|
|
|
|
xmonad-contrib = self.xmonad-contrib_0_16;
|
|
|
|
|
2019-04-30 10:32:16 +01:00
|
|
|
# These packages don't work and need patching and/or an update.
|
2019-05-03 20:38:27 +01:00
|
|
|
hackage-security = appendPatch (doJailbreak super.hackage-security) (pkgs.fetchpatch {
|
|
|
|
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/hackage-security-0.5.3.0.patch";
|
|
|
|
sha256 = "0l8x0pbsn18fj5ak5q0g5rva4xw1s9yc4d86a1pfyaz467b9i5a4";
|
|
|
|
});
|
2019-09-16 15:02:56 +01:00
|
|
|
socks = appendPatch (doJailbreak super.socks) (pkgs.fetchpatch {
|
2019-08-29 18:55:08 +01:00
|
|
|
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/socks-0.6.0.patch";
|
|
|
|
sha256 = "1dsqmx0sw62x4glh43c0sbizd2y00v5xybiqadn96v6pmfrap5cp";
|
|
|
|
});
|
2019-08-29 18:39:16 +01:00
|
|
|
polyparse = appendPatch (doJailbreak super.polyparse) (pkgs.fetchpatch {
|
|
|
|
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/polyparse-1.12.1.patch";
|
|
|
|
sha256 = "01b2gnsq0x4fd9na8zpk6pajym55mbz64hgzawlwxdw0y6681kr5";
|
|
|
|
});
|
2019-08-29 19:01:37 +01:00
|
|
|
foundation = dontCheck super.foundation;
|
2019-08-29 23:21:46 +01:00
|
|
|
haskell-src-meta = appendPatch (dontCheck (doJailbreak super.haskell-src-meta)) (pkgs.fetchpatch {
|
2019-10-07 07:50:13 +01:00
|
|
|
url = "https://gitlab.haskell.org/ghc/head.hackage/raw/master/patches/haskell-src-meta-0.8.3.patch";
|
2019-09-15 22:03:22 +01:00
|
|
|
sha256 = "1asl932mibr5y057xx8v1a7n3qy87lcnclsfh8pbxq1m3iwjkxy8";
|
2019-08-29 23:21:46 +01:00
|
|
|
});
|
2019-08-29 23:45:13 +01:00
|
|
|
asn1-encoding = appendPatch (dontCheck (doJailbreak super.asn1-encoding)) (pkgs.fetchpatch {
|
2019-10-07 07:50:13 +01:00
|
|
|
url = "https://gitlab.haskell.org/ghc/head.hackage/raw/master/patches/asn1-encoding-0.9.5.patch";
|
2019-08-29 23:45:13 +01:00
|
|
|
sha256 = "0a3159rnaw6shjzdm46799crd4pxh33s23qy51xa7z6nv5q8wsb5";
|
|
|
|
});
|
2019-09-16 16:49:39 +01:00
|
|
|
vault = dontHaddock super.vault;
|
2019-09-18 16:13:27 +01:00
|
|
|
monad-par = dontCheck super.monad-par; # test suite does not compile in monad-par-0.3.4.8
|
2019-09-16 21:11:40 +01:00
|
|
|
|
2019-09-16 22:52:26 +01:00
|
|
|
# TODO dont fetch patch if https://github.com/simonmar/alex/issues/140 is resolved
|
2019-09-17 10:02:47 +01:00
|
|
|
alex = appendPatch super.alex (pkgs.fetchpatch {
|
2019-09-16 22:52:26 +01:00
|
|
|
url = "https://github.com/simonmar/alex/commit/deaae6eddef5186bfd0e42e2c3ced39e26afa4d6.patch";
|
|
|
|
sha256 = "1v40gmnw4lqyk271wngdwz8whpfdhmza58srbkka8icwwwrck3l5";
|
2019-09-16 21:11:40 +01:00
|
|
|
});
|
2019-09-18 16:13:27 +01:00
|
|
|
|
2019-09-18 16:13:27 +01:00
|
|
|
# https://github.com/sol/hpack/issues/371
|
2019-09-24 16:55:06 +01:00
|
|
|
hpack = appendPatch super.hpack (pkgs.fetchpatch {
|
2019-10-07 07:50:13 +01:00
|
|
|
url = "https://gitlab.haskell.org/ghc/head.hackage/raw/master/patches/hpack-0.32.0.patch";
|
2019-09-24 16:55:06 +01:00
|
|
|
sha256 = "11ccl9f7vwbf5cpzknlyvrwgkzpajk4vq9jk9yb5f9la9ggwb244";
|
|
|
|
});
|
2019-09-18 16:13:27 +01:00
|
|
|
|
2019-09-18 16:13:27 +01:00
|
|
|
# Upstream ships a broken Setup.hs file.
|
|
|
|
csv = overrideCabal super.csv (drv: { prePatch = "rm Setup.hs"; });
|
|
|
|
|
2019-09-24 17:14:56 +01:00
|
|
|
# mark broken packages
|
2019-09-24 17:30:55 +01:00
|
|
|
bencode = markBrokenVersion "0.6.0.0" super.bencode;
|
2019-09-24 17:14:56 +01:00
|
|
|
easytest = markBroken super.easytest;
|
|
|
|
easytest_0_3 = markBroken super.easytest_0_3;
|
|
|
|
haskell-src = markBrokenVersion "1.0.3.0" super.haskell-src;
|
|
|
|
|
2019-04-29 16:51:19 +01:00
|
|
|
}
|