nixpkgs/pkgs/development/haskell-modules/configuration-ghc-head.nix

99 lines
2.8 KiB
Nix
Raw Normal View History

{ pkgs, haskellLib }:
with haskellLib;
self: super: {
# This compiler version needs llvm 5.x.
llvmPackages = pkgs.llvmPackages_5;
2015-03-09 19:11:23 +00:00
2018-07-09 23:23:50 +00:00
# Disable GHC 8.7.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-prim = null;
2016-12-27 13:24:20 +00:00
ghci = null;
haskeline = null;
hpc = null;
integer-gmp = null;
2018-07-09 23:23:50 +00:00
mtl = null;
parsec = null;
pretty = null;
process = null;
rts = null;
2018-07-09 23:23:50 +00:00
stm = null;
template-haskell = null;
terminfo = null;
2018-07-09 23:23:50 +00:00
text = null;
time = null;
transformers = null;
unix = null;
xhtml = null;
# jailbreak-cabal can use the native Cabal library.
jailbreak-cabal = super.jailbreak-cabal.override { Cabal = null; };
2015-01-09 19:57:39 +00:00
# haddock: No input file(s).
nats = dontHaddock super.nats;
2015-06-08 07:48:13 +00:00
bytestring-builder = dontHaddock super.bytestring-builder;
# We have time 1.5
aeson = disableCabalFlag super.aeson "old-locale";
# Setup: At least the following dependencies are missing: base <4.8
hspec-expectations = overrideCabal super.hspec-expectations (drv: {
postPatch = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal";
});
utf8-string = overrideCabal super.utf8-string (drv: {
postPatch = "sed -i -e 's|base >= 4.3 && < 4.10|base|' utf8-string.cabal";
});
2015-01-09 21:18:16 +00:00
# bos/attoparsec#92
attoparsec = dontCheck super.attoparsec;
2015-01-09 21:18:16 +00:00
2015-01-09 22:02:42 +00:00
# test suite hangs silently for at least 10 minutes
split = dontCheck super.split;
2015-01-09 22:02:42 +00:00
# Test suite fails with some (seemingly harmless) error.
# https://code.google.com/p/scrapyourboilerplate/issues/detail?id=24
syb = dontCheck super.syb;
2015-01-12 14:46:35 +00:00
# Test suite has stricter version bounds
retry = dontCheck super.retry;
2015-01-12 14:58:56 +00:00
# Test suite fails with time >= 1.5
http-date = dontCheck super.http-date;
# Version 1.19.5 fails its test suite.
happy = dontCheck super.happy;
2015-03-31 13:30:28 +00:00
# Workaround for a workaround, see comment for "ghcjs" flag.
jsaddle = let jsaddle' = disableCabalFlag super.jsaddle "ghcjs";
in addBuildDepends jsaddle' [ self.glib self.gtk3 self.webkitgtk3
self.webkitgtk3-javascriptcore ];
# The compat library is empty in the presence of mtl 2.2.x.
mtl-compat = dontHaddock super.mtl-compat;
# Won't work with LLVM 3.5.
llvm-general = markBrokenVersion "3.4.5.3" super.llvm-general;
2017-01-07 15:28:48 +00:00
# A bunch of jailbreaks due to 'base' bump
old-time = doJailbreak super.old-time;
2017-01-07 15:28:48 +00:00
old-locale = doJailbreak super.old-locale;
primitive = doJailbreak super.primitive;
test-framework = doJailbreak super.test-framework;
atomic-primops = doJailbreak (appendPatch super.atomic-primops ./patches/atomic-primops-Cabal-1.25.patch);
hashable = doJailbreak super.hashable;
2018-07-09 23:23:50 +00:00
}