2016-01-13 21:03:55 +01:00
|
|
|
{ pkgs }:
|
|
|
|
|
|
|
|
with import ./lib.nix { inherit pkgs; };
|
|
|
|
|
|
|
|
self: super: {
|
2016-01-16 17:40:19 +01:00
|
|
|
|
|
|
|
# Suitable LLVM version.
|
|
|
|
llvmPackages = pkgs.llvmPackages_35;
|
|
|
|
|
2016-01-13 21:03:55 +01:00
|
|
|
# Disable GHC 8.0.x core libraries.
|
|
|
|
array = null;
|
|
|
|
base = null;
|
|
|
|
binary = null;
|
|
|
|
bytestring = null;
|
|
|
|
Cabal = null;
|
|
|
|
containers = null;
|
|
|
|
deepseq = null;
|
|
|
|
directory = null;
|
|
|
|
filepath = null;
|
|
|
|
ghc-boot = null;
|
2016-05-27 18:49:02 +02:00
|
|
|
ghc-boot-th = null;
|
2016-01-13 21:03:55 +01:00
|
|
|
ghc-prim = null;
|
|
|
|
ghci = null;
|
|
|
|
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-13 23:06:53 +01:00
|
|
|
|
2016-01-31 22:28:05 +01:00
|
|
|
# cabal-install can use the native Cabal library.
|
|
|
|
cabal-install = super.cabal-install.override { Cabal = null; };
|
|
|
|
|
2016-01-16 17:40:19 +01:00
|
|
|
# jailbreak-cabal can use the native Cabal library.
|
2016-01-27 00:17:48 +01:00
|
|
|
jailbreak-cabal = super.jailbreak-cabal.override { Cabal = null; };
|
2016-01-16 17:40:19 +01:00
|
|
|
|
2016-05-11 02:01:09 +02:00
|
|
|
ghcjs-prim = self.callPackage ({ mkDerivation, fetchgit, primitive }: mkDerivation {
|
|
|
|
pname = "ghcjs-prim";
|
|
|
|
version = "0.1.0.0";
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://github.com/ghcjs/ghcjs-prim.git;
|
|
|
|
rev = "dfeaab2aafdfefe46bf12960d069f28d2e5f1454"; # ghc-7.10 branch
|
|
|
|
sha256 = "19kyb26nv1hdpp0kc2gaxkq5drw5ib4za0641py5i4bbf1g58yvy";
|
|
|
|
};
|
|
|
|
buildDepends = [ primitive ];
|
|
|
|
license = pkgs.stdenv.lib.licenses.bsd3;
|
2016-07-21 10:39:53 +02:00
|
|
|
broken = true; # needs template-haskell >=2.9 && <2.11
|
2016-05-11 02:01:09 +02:00
|
|
|
}) {};
|
2016-05-23 17:55:41 +02:00
|
|
|
|
2016-08-04 17:38:13 +02:00
|
|
|
# https://github.com/bmillwood/applicative-quoters/issues/6
|
|
|
|
applicative-quoters = appendPatch super.applicative-quoters (pkgs.fetchpatch {
|
|
|
|
url = "https://patch-diff.githubusercontent.com/raw/bmillwood/applicative-quoters/pull/7.patch";
|
|
|
|
sha256 = "026vv2k3ks73jngwifszv8l59clg88pcdr4mz0wr0gamivkfa1zy";
|
|
|
|
});
|
|
|
|
|
2016-11-01 11:34:14 +01:00
|
|
|
# https://github.com/christian-marie/xxhash/issues/3
|
|
|
|
xxhash = doJailbreak super.xxhash;
|
2016-11-01 11:01:51 +01:00
|
|
|
|
2016-01-13 21:03:55 +01:00
|
|
|
}
|