2015-01-07 19:31:32 +00:00
|
|
|
{ pkgs }:
|
|
|
|
|
2015-01-10 19:26:08 +00:00
|
|
|
with import ./lib.nix { inherit pkgs; };
|
2015-01-07 19:31:32 +00:00
|
|
|
|
|
|
|
self: super: {
|
|
|
|
|
2015-01-19 11:12:28 +00:00
|
|
|
# Disable GHC 7.10.x core libraries.
|
2015-01-07 19:31:32 +00:00
|
|
|
array = null;
|
|
|
|
base = null;
|
|
|
|
binary = null;
|
|
|
|
bin-package-db = null;
|
|
|
|
bytestring = null;
|
|
|
|
Cabal = null;
|
|
|
|
containers = null;
|
|
|
|
deepseq = null;
|
|
|
|
directory = null;
|
|
|
|
filepath = null;
|
|
|
|
ghc-prim = 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;
|
|
|
|
|
2015-01-10 17:50:49 +00:00
|
|
|
# We have Cabal 1.22.x.
|
|
|
|
jailbreak-cabal = super.jailbreak-cabal.override { Cabal = null; };
|
2015-01-09 18:17:59 +00:00
|
|
|
|
2015-01-09 18:35:41 +00:00
|
|
|
# GHC 7.10.x's Haddock binary cannot generate hoogle files.
|
|
|
|
# https://ghc.haskell.org/trac/ghc/ticket/9921
|
|
|
|
mkDerivation = drv: super.mkDerivation (drv // { doHoogle = false; });
|
2015-01-07 19:31:32 +00:00
|
|
|
|
2015-01-09 19:57:39 +00:00
|
|
|
# haddock: No input file(s).
|
2015-01-10 19:27:16 +00:00
|
|
|
nats = dontHaddock super.nats;
|
2015-02-23 04:51:22 +00:00
|
|
|
bytestring-builder = dontHaddock super.bytestring-builder;
|
2015-01-09 19:57:39 +00:00
|
|
|
|
2015-01-09 18:53:07 +00:00
|
|
|
# These used to be core packages in GHC 7.8.x.
|
2015-01-08 10:55:39 +00:00
|
|
|
old-locale = self.old-locale_1_0_0_7;
|
|
|
|
old-time = self.old-time_1_1_0_3;
|
|
|
|
|
2015-01-09 18:33:10 +00:00
|
|
|
# We have transformers 4.x
|
2015-01-08 10:55:39 +00:00
|
|
|
mtl = self.mtl_2_2_1;
|
2015-01-10 19:27:16 +00:00
|
|
|
transformers-compat = disableCabalFlag super.transformers-compat "three";
|
2015-01-08 10:55:39 +00:00
|
|
|
|
2015-01-09 21:24:38 +00:00
|
|
|
# We have time 1.5
|
2015-01-10 19:27:16 +00:00
|
|
|
aeson = disableCabalFlag super.aeson "old-locale";
|
2015-01-09 21:24:38 +00:00
|
|
|
|
2015-01-07 19:31:32 +00:00
|
|
|
# Setup: At least the following dependencies are missing: base <4.8
|
|
|
|
hspec-expectations = overrideCabal super.hspec-expectations (drv: {
|
|
|
|
patchPhase = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal";
|
|
|
|
});
|
2015-01-09 18:38:34 +00:00
|
|
|
utf8-string = overrideCabal super.utf8-string (drv: {
|
|
|
|
patchPhase = "sed -i -e 's|base >= 3 && < 4.8|base|' utf8-string.cabal";
|
|
|
|
});
|
2015-02-23 01:31:28 +00:00
|
|
|
esqueleto = doJailbreak super.esqueleto;
|
2015-01-07 19:31:32 +00:00
|
|
|
|
2015-01-09 21:18:16 +00:00
|
|
|
# bos/attoparsec#92
|
2015-01-10 19:27:16 +00:00
|
|
|
attoparsec = dontCheck super.attoparsec;
|
2015-01-09 21:18:16 +00:00
|
|
|
|
2015-01-09 18:53:07 +00:00
|
|
|
# Test suite fails with some (seemingly harmless) error.
|
|
|
|
# https://code.google.com/p/scrapyourboilerplate/issues/detail?id=24
|
2015-01-10 19:27:16 +00:00
|
|
|
syb = dontCheck super.syb;
|
2015-01-09 18:53:07 +00:00
|
|
|
|
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;
|
|
|
|
|
2015-01-10 10:02:37 +00:00
|
|
|
# Version 1.19.5 fails its test suite.
|
2015-01-10 19:27:16 +00:00
|
|
|
happy = dontCheck super.happy;
|
2015-01-10 10:02:37 +00:00
|
|
|
|
2015-01-23 10:38:49 +00:00
|
|
|
# Test suite fails in "/tokens_bytestring_unicode.g.bin".
|
|
|
|
alex = dontCheck super.alex;
|
|
|
|
|
2015-01-30 17:43:29 +00:00
|
|
|
# Upstream was notified about the over-specified constraint on 'base'
|
|
|
|
# but refused to do anything about it because he "doesn't want to
|
|
|
|
# support a moving target". Go figure.
|
|
|
|
barecheck = doJailbreak super.barecheck;
|
|
|
|
cartel = overrideCabal super.cartel (drv: { doCheck = false; patchPhase = "sed -i -e 's|base >= .*|base|' cartel.cabal"; });
|
|
|
|
|
2015-02-23 01:31:28 +00:00
|
|
|
# https://github.com/kazu-yamamoto/unix-time/issues/30
|
|
|
|
unix-time = dontCheck super.unix-time;
|
|
|
|
|
|
|
|
# Until the changes have been pushed to Hackage
|
|
|
|
haskell-src-meta = appendPatch super.haskell-src-meta (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/bmillwood/haskell-src-meta/pull/31.patch";
|
|
|
|
sha256 = "0ij5zi2sszqns46mhfb87fzrgn5lkdv8yf9iax7cbrxb4a2j4y1w";
|
|
|
|
});
|
|
|
|
foldl = appendPatch super.foldl (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/Gabriel439/Haskell-Foldl-Library/pull/30.patch";
|
2015-03-01 08:18:08 +00:00
|
|
|
sha256 = "0q4gs3xkazh644ff7qn2mp2q1nq3jq71x82g7iaacxclkiv0bphx";
|
2015-02-23 01:31:28 +00:00
|
|
|
});
|
|
|
|
persistent-template = appendPatch super.persistent-template (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/yesodweb/persistent/commit/4d34960bc421ec0aa353d69fbb3eb0c73585db97.patch";
|
|
|
|
sha256 = "1gphl0v87y2fjwkwp6j0bnksd0d9dr4pis6aw97rij477bm5mrvw";
|
|
|
|
stripLen = 1;
|
|
|
|
});
|
|
|
|
stringsearch = appendPatch super.stringsearch (pkgs.fetchpatch {
|
|
|
|
url = "https://bitbucket.org/api/2.0/repositories/dafis/stringsearch/pullrequests/3/patch";
|
|
|
|
sha256 = "13n7wipaa1j2rghg2j68yjnda8a5galpv5sfz4j4d9509xakz25g";
|
|
|
|
});
|
|
|
|
mono-traversable = appendPatch super.mono-traversable (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/snoyberg/mono-traversable/pull/68.patch";
|
|
|
|
sha256 = "11hqf6hi3sc34wl0fn4rpigdf7wfklcjv6jwp8c3129yphg8687h";
|
|
|
|
});
|
|
|
|
conduit-combinators = appendPatch super.conduit-combinators (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/fpco/conduit-combinators/pull/16.patch";
|
|
|
|
sha256 = "0jpwpi3shdn5rms3lcr4srajbhhfp5dbwy7pl23c9kmlil3d9mk3";
|
|
|
|
});
|
|
|
|
wai-extra = appendPatch super.wai-extra (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/yesodweb/wai/pull/339.patch";
|
|
|
|
sha256 = "1rmz1ijfch143v7jg4d5r50lqq9r46zhcmdafq8p9g9pjxlyc590";
|
|
|
|
stripLen = 1;
|
|
|
|
});
|
|
|
|
yesod-auth = appendPatch super.yesod-auth (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/yesodweb/yesod/pull/941.patch";
|
|
|
|
sha256 = "1fycvjfr1l9wa03k30bnppl3ns99lffh9kmp9r7sr8b6yiydcajq";
|
|
|
|
stripLen = 1;
|
|
|
|
});
|
2015-03-20 10:37:06 +00:00
|
|
|
|
|
|
|
# https://github.com/batterseapower/ansi-wl-pprint/issues/13
|
|
|
|
ansi-wl-pprint = appendPatch super.ansi-wl-pprint (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/hvr/ansi-wl-pprint/commit/7e489ea6b546899074b1cdccf37d2e49ab313098.patch";
|
|
|
|
sha256 = "111aasm6pb55prldzwzgfffd5zz1npl7akdzcwh2hsri865i1806";
|
|
|
|
});
|
2015-01-10 10:02:37 +00:00
|
|
|
}
|