2018-07-04 08:46:07 +00:00
|
|
|
{ pkgs, haskellLib }:
|
|
|
|
|
|
|
|
with haskellLib;
|
|
|
|
|
|
|
|
self: super: {
|
|
|
|
|
2019-04-29 16:40:37 +00:00
|
|
|
# This compiler version needs llvm 6.x.
|
|
|
|
llvmPackages = pkgs.llvmPackages_6;
|
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;
|
|
|
|
|
2019-08-28 15:45:06 +00:00
|
|
|
# Needs Cabal 3.0.x.
|
|
|
|
cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_3_0_0_0; });
|
2019-09-05 12:20:03 +00:00
|
|
|
jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal_3_0_0_0; };
|
2019-08-28 15:45:06 +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-10-18 12:57:00 +00:00
|
|
|
# Test suite does not compile.
|
2018-10-19 09:02:50 +00:00
|
|
|
data-clist = doJailbreak super.data-clist; # won't cope with QuickCheck 2.12.x
|
2019-01-11 01:41:30 +00:00
|
|
|
dates = doJailbreak super.dates; # base >=4.9 && <4.12
|
2018-10-18 12:57:00 +00:00
|
|
|
Diff = dontCheck super.Diff;
|
2019-02-13 17:39:16 +00:00
|
|
|
equivalence = dontCheck super.equivalence; # test suite doesn't compile https://github.com/pa-ba/equivalence/issues/5
|
2019-01-11 01:22:45 +00:00
|
|
|
HaTeX = doJailbreak super.HaTeX; # containers >=0.4 && <0.6 is too tight; https://github.com/Daniel-Diaz/HaTeX/issues/126
|
2019-01-08 05:30:17 +00:00
|
|
|
hpc-coveralls = doJailbreak super.hpc-coveralls; # https://github.com/guillaume-nargeot/hpc-coveralls/issues/82
|
2018-10-18 12:57:00 +00:00
|
|
|
http-api-data = doJailbreak super.http-api-data;
|
|
|
|
persistent-sqlite = dontCheck super.persistent-sqlite;
|
|
|
|
system-fileio = dontCheck super.system-fileio; # avoid dependency on broken "patience"
|
|
|
|
unicode-transforms = dontCheck super.unicode-transforms;
|
2019-01-11 01:08:33 +00:00
|
|
|
wl-pprint-extras = doJailbreak super.wl-pprint-extras; # containers >=0.4 && <0.6 is too tight; https://github.com/ekmett/wl-pprint-extras/issues/17
|
2019-01-04 10:35:02 +00:00
|
|
|
RSA = dontCheck super.RSA; # https://github.com/GaloisInc/RSA/issues/14
|
2018-10-19 09:32:17 +00:00
|
|
|
monad-par = dontCheck super.monad-par; # https://github.com/simonmar/monad-par/issues/66
|
2019-01-05 18:02:30 +00:00
|
|
|
github = dontCheck super.github; # hspec upper bound exceeded; https://github.com/phadej/github/pull/341
|
2019-01-01 22:51:01 +00:00
|
|
|
binary-orphans = dontCheck super.binary-orphans; # tasty upper bound exceeded; https://github.com/phadej/binary-orphans/commit/8ce857226595dd520236ff4c51fa1a45d8387b33
|
2018-10-18 12:57:00 +00:00
|
|
|
|
2018-10-22 12:29:38 +00:00
|
|
|
# https://github.com/jgm/skylighting/issues/55
|
2018-10-19 08:26:24 +00:00
|
|
|
skylighting-core = dontCheck super.skylighting-core;
|
|
|
|
|
2019-01-04 11:55:09 +00:00
|
|
|
# Break out of "yaml >=0.10.4.0 && <0.11": https://github.com/commercialhaskell/stack/issues/4485
|
2018-10-19 09:38:27 +00:00
|
|
|
stack = doJailbreak super.stack;
|
|
|
|
|
2019-03-26 16:15:50 +00:00
|
|
|
# Needs a recent version from the "develop" branch of the upstream git
|
|
|
|
# repository to compile with ghc 8.6.4.
|
|
|
|
liquid-fixpoint = assert super.liquid-fixpoint.version == "0.7.0.7"; overrideSrc super.liquid-fixpoint {
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "ucsd-progsys";
|
|
|
|
repo = "liquid-fixpoint";
|
|
|
|
rev = "42c027ab9ae47907c588a2f1f9c05a5e0aa881e9";
|
|
|
|
sha256 = "17qmzq1vx7h04yd38drr6sh6hys3q2rz62qh3pna9kbxlcnikkqf";
|
|
|
|
};
|
|
|
|
version = "0.8.0.2-pre-release";
|
|
|
|
};
|
|
|
|
liquidhaskell = assert super.liquidhaskell.version == "0.8.2.4"; overrideSrc super.liquidhaskell {
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "ucsd-progsys";
|
|
|
|
repo = "liquidhaskell";
|
2019-04-12 10:30:50 +00:00
|
|
|
rev = "46f11e8faef006e70d39572d08419283b1280b88";
|
|
|
|
sha256 = "10z5r6g5acd43bsak762kwhy33ff262zmhs0wga545nbg29q1fyp";
|
2019-03-26 16:15:50 +00:00
|
|
|
};
|
|
|
|
version = "0.8.6.0-pre-release";
|
|
|
|
};
|
|
|
|
|
2019-08-28 15:38:36 +00:00
|
|
|
# Newer versions don't compile.
|
|
|
|
resolv = self.resolv_0_1_1_2;
|
|
|
|
|
2019-09-24 16:46:39 +00:00
|
|
|
# cabal2nix needs the latest version of Cabal.
|
|
|
|
cabal2nix = super.cabal2nix.overrideScope (self: super: { Cabal = self.Cabal_3_0_0_0; });
|
|
|
|
|
2018-07-04 08:46:07 +00:00
|
|
|
}
|