2019-04-29 17:51:19 +02: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 11:32:16 +02:00
|
|
|
# Ignore overly restrictive upper version bounds.
|
|
|
|
doctest = doJailbreak super.doctest;
|
|
|
|
|
|
|
|
# These packages don't work and need patching and/or an update.
|
2019-04-30 13:41:28 +02:00
|
|
|
primitive = overrideSrc (doJailbreak super.primitive) {
|
|
|
|
version = "20180530-git";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "haskell";
|
|
|
|
repo = "primitive";
|
|
|
|
rev = "97964182881aa0419546e0bb188b2d17e4468324";
|
|
|
|
sha256 = "1p1pinca33vd10iy7hl20c1fc99vharcgcai6z3ngqbq50k2pd3q";
|
|
|
|
};
|
|
|
|
};
|
2019-05-02 20:28:22 +02:00
|
|
|
resolv = overrideCabal (overrideSrc super.resolv {
|
|
|
|
version = "20180411-git";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "haskell-hvr";
|
|
|
|
repo = "resolv";
|
|
|
|
rev = "a22f9dd900cb276b3dd70f4781fb436d617e2186";
|
|
|
|
sha256 = "1j2jyywmxjhyk46kxff625yvg5y37knv7q6y0qkwiqdwdsppccdk";
|
|
|
|
};
|
|
|
|
}) (drv: {
|
|
|
|
buildTools = with pkgs; [autoconf];
|
|
|
|
preConfigure = "autoreconf --install";
|
|
|
|
});
|
2019-05-02 20:13:23 +02:00
|
|
|
colour = appendPatch super.colour (pkgs.fetchpatch {
|
|
|
|
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/colour-2.3.4.patch";
|
|
|
|
sha256 = "1h318dczml9qrmfvlz1d12iji86klaxvz63k9g9awibwz8lw2i79";
|
|
|
|
});
|
|
|
|
dlist = appendPatch super.dlist (pkgs.fetchpatch {
|
|
|
|
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/dlist-0.8.0.6.patch";
|
|
|
|
sha256 = "0lkhibfxfk6mi796mrjgmbb50hbyjgc7xdinci64dahj8325jlpc";
|
|
|
|
});
|
2019-05-02 20:16:59 +02:00
|
|
|
QuickCheck = appendPatch super.QuickCheck (pkgs.fetchpatch {
|
|
|
|
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/QuickCheck-2.13.1.patch";
|
|
|
|
sha256 = "138yrp3x5cnvncimrnhnkawz6clyk7fj3sr3y93l5szfr11kcvbl";
|
|
|
|
});
|
2019-05-02 20:27:48 +02:00
|
|
|
regex-base = appendPatch super.regex-base (pkgs.fetchpatch {
|
|
|
|
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/regex-base-0.93.2.patch";
|
|
|
|
sha256 = "138yrp3x5cnvncimrnhnkawz6clyk7fj3sr3y93l5szfr11kcv1l";
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2019-04-30 11:32:16 +02:00
|
|
|
|
2019-04-29 17:51:19 +02:00
|
|
|
}
|