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-03-09 19:11:23 +00:00
|
|
|
# Suitable LLVM version.
|
|
|
|
llvmPackages = pkgs.llvmPackages_35;
|
|
|
|
|
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-04-11 22:01:10 +01:00
|
|
|
# ekmett/linear#74
|
|
|
|
linear = overrideCabal super.linear (drv: {
|
|
|
|
prePatch = "sed -i 's/-Werror//g' linear.cabal";
|
|
|
|
});
|
|
|
|
|
2015-03-13 03:20:56 +00:00
|
|
|
# Cabal_1_22_1_1 requires filepath >=1 && <1.4
|
|
|
|
cabal-install = dontCheck (super.cabal-install.override { Cabal = null; });
|
|
|
|
|
2015-05-20 11:13:13 +01:00
|
|
|
# Don't use jailbreak built with Cabal 1.22.x because of https://github.com/peti/jailbreak-cabal/issues/9.
|
|
|
|
jailbreak-cabal = pkgs.haskell.packages.ghc784.jailbreak-cabal;
|
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-05-19 14:14:14 +01:00
|
|
|
idris =
|
|
|
|
let idris' = overrideCabal super.idris (drv: {
|
|
|
|
# "idris" binary cannot find Idris library otherwise while building.
|
|
|
|
# After installing it's completely fine though.
|
|
|
|
# Seems like Nix-specific issue so not reported.
|
|
|
|
preBuild = ''
|
|
|
|
export LD_LIBRARY_PATH=$PWD/dist/build:$LD_LIBRARY_PATH
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
in idris'.overrideScope (self: super: {
|
|
|
|
zlib = self.zlib_0_5_4_2;
|
|
|
|
});
|
|
|
|
|
2015-04-25 03:09:43 +01:00
|
|
|
Extra = appendPatch super.Extra (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/seereason/sr-extra/commit/29787ad4c20c962924b823d02a7335da98143603.patch";
|
|
|
|
sha256 = "193i1xmq6z0jalwmq0mhqk1khz6zz0i1hs6lgfd7ybd6qyaqnf5f";
|
|
|
|
});
|
|
|
|
|
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 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-03-13 03:20:56 +00:00
|
|
|
# requires filepath >=1.1 && <1.4
|
|
|
|
Glob = doJailbreak super.Glob;
|
|
|
|
|
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-04-09 00:33:33 +01:00
|
|
|
pointfree = doJailbreak super.pointfree;
|
2015-01-07 19:31:32 +00:00
|
|
|
|
2015-04-11 20:23:53 +01:00
|
|
|
# acid-state/safecopy#25 acid-state/safecopy#26
|
|
|
|
safecopy = dontCheck (super.safecopy);
|
|
|
|
|
2015-04-22 14:18:56 +01:00
|
|
|
# test suite broken, some instance is declared twice.
|
2015-04-22 20:00:01 +01:00
|
|
|
# https://bitbucket.org/FlorianHartwig/attobencode/issue/1
|
2015-04-22 14:18:56 +01:00
|
|
|
AttoBencode = dontCheck super.AttoBencode;
|
|
|
|
|
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;
|
|
|
|
|
2015-03-27 20:53:11 +00:00
|
|
|
syb-with-class = appendPatch super.syb-with-class (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/seereason/syb-with-class/compare/adc86a9...719e567.patch";
|
|
|
|
sha256 = "1lwwvxyhxcmppdapbgpfhwi7xc2z78qir03xjrpzab79p2qyq7br";
|
|
|
|
});
|
|
|
|
|
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
|
2015-04-17 21:47:56 +01:00
|
|
|
mueval = appendPatch super.mueval (pkgs.fetchpatch {
|
2015-05-12 14:09:33 +01:00
|
|
|
url = "https://github.com/gwern/mueval/commit/c41aa40ed63b74c069d1e4e3caa8c8d890cde960.patch";
|
2015-04-17 21:47:56 +01:00
|
|
|
sha256 = "1gs8p89d1qsrd1qycbhf6kv4qw0sbb8m6dy106dqkmdzcjzcyq74";
|
|
|
|
});
|
2015-04-25 11:45:35 +01:00
|
|
|
present = appendPatch super.present (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/chrisdone/present/commit/6a61f099bf01e2127d0c68f1abe438cd3eaa15f7.patch";
|
|
|
|
sha256 = "1vn3xm38v2f4lzyzkadvq322f3s2yf8c88v56wpdpzfxmvlzaqr8";
|
|
|
|
});
|
2015-03-13 03:20:56 +00:00
|
|
|
|
2015-04-17 21:48:54 +01:00
|
|
|
# Already applied in darcs repository.
|
|
|
|
gnuplot = appendPatch super.gnuplot ./gnuplot-fix-new-time.patch;
|
|
|
|
|
2015-03-13 03:20:56 +00: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;
|
2015-05-11 05:46:24 +01:00
|
|
|
rev = "dfeaab2aafdfefe46bf12960d069f28d2e5f1454"; # ghc-7.10 branch
|
|
|
|
sha256 = "19kyb26nv1hdpp0kc2gaxkq5drw5ib4za0641py5i4bbf1g58yvy";
|
2015-03-13 03:20:56 +00:00
|
|
|
};
|
|
|
|
buildDepends = [ primitive ];
|
|
|
|
license = pkgs.stdenv.lib.licenses.bsd3;
|
|
|
|
}) {};
|
2015-04-11 22:20:06 +01:00
|
|
|
|
|
|
|
# diagrams/monoid-extras#19
|
|
|
|
monoid-extras = overrideCabal super.monoid-extras (drv: {
|
|
|
|
prePatch = "sed -i 's|4\.8|4.9|' monoid-extras.cabal";
|
|
|
|
});
|
2015-04-11 22:26:32 +01:00
|
|
|
|
|
|
|
# diagrams/statestack#5
|
|
|
|
statestack = overrideCabal super.statestack (drv: {
|
|
|
|
prePatch = "sed -i 's|4\.8|4.9|' statestack.cabal";
|
|
|
|
});
|
2015-04-11 22:40:04 +01:00
|
|
|
|
|
|
|
# diagrams/diagrams-core#83
|
|
|
|
diagrams-core = overrideCabal super.diagrams-core (drv: {
|
|
|
|
prePatch = "sed -i 's|4\.8|4.9|' diagrams-core.cabal";
|
|
|
|
});
|
2015-04-11 23:22:50 +01:00
|
|
|
|
2015-04-17 21:49:02 +01:00
|
|
|
misfortune = appendPatch super.misfortune (pkgs.fetchpatch {
|
2015-05-12 13:45:00 +01:00
|
|
|
url = "https://github.com/mokus0/misfortune/commit/9e0a38cf8d59a0de9ae1156034653f32099610e4.patch";
|
2015-04-17 21:49:02 +01:00
|
|
|
sha256 = "15frwdallm3i6k7mil26bbjd4wl6k9h20ixf3cmyris3q3jhlcfh";
|
|
|
|
});
|
|
|
|
|
2015-04-14 19:24:58 +01:00
|
|
|
timezone-series = doJailbreak super.timezone-series;
|
|
|
|
timezone-olson = doJailbreak super.timezone-olson;
|
|
|
|
libmpd = dontCheck super.libmpd;
|
|
|
|
xmonad-extras = overrideCabal super.xmonad-extras (drv: {
|
|
|
|
postPatch = ''
|
|
|
|
sed -i -e "s,<\*,<¤,g" XMonad/Actions/Volume.hs
|
|
|
|
'';
|
|
|
|
});
|
2015-03-31 14:30:28 +01: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 ];
|
|
|
|
|
2015-04-17 16:40:48 +01:00
|
|
|
# https://github.com/BNFC/bnfc/issues/137
|
|
|
|
BNFC = markBrokenVersion "2.7.1" super.BNFC;
|
|
|
|
cubical = dontDistribute super.cubical;
|
|
|
|
|
|
|
|
# contacted maintainer by e-mail
|
2015-05-19 10:47:27 +01:00
|
|
|
cmdlib = markBrokenVersion "0.3.5" super.cmdlib;
|
2015-04-17 19:25:01 +01:00
|
|
|
darcs-fastconvert = dontDistribute super.darcs-fastconvert;
|
|
|
|
ivory-backend-c = dontDistribute super.ivory-backend-c;
|
|
|
|
ivory-bitdata = dontDistribute super.ivory-bitdata;
|
|
|
|
ivory-examples = dontDistribute super.ivory-examples;
|
|
|
|
ivory-hw = dontDistribute super.ivory-hw;
|
2015-04-17 16:40:48 +01:00
|
|
|
laborantin-hs = dontDistribute super.laborantin-hs;
|
|
|
|
|
|
|
|
# https://github.com/cartazio/arithmoi/issues/1
|
|
|
|
arithmoi = markBroken super.arithmoi;
|
2015-04-17 19:25:01 +01:00
|
|
|
NTRU = dontDistribute super.NTRU;
|
|
|
|
arith-encode = dontDistribute super.arith-encode;
|
|
|
|
barchart = dontDistribute super.barchart;
|
2015-04-17 16:40:48 +01:00
|
|
|
constructible = dontDistribute super.constructible;
|
|
|
|
cyclotomic = dontDistribute super.cyclotomic;
|
|
|
|
diagrams = dontDistribute super.diagrams;
|
|
|
|
diagrams-contrib = dontDistribute super.diagrams-contrib;
|
2015-04-17 19:25:01 +01:00
|
|
|
enumeration = dontDistribute super.enumeration;
|
|
|
|
ghci-diagrams = dontDistribute super.ghci-diagrams;
|
2015-04-17 16:40:48 +01:00
|
|
|
ihaskell-diagrams = dontDistribute super.ihaskell-diagrams;
|
|
|
|
nimber = dontDistribute super.nimber;
|
2015-04-20 15:47:41 +01:00
|
|
|
pell = dontDistribute super.pell;
|
2015-04-17 16:40:48 +01:00
|
|
|
quadratic-irrational = dontDistribute super.quadratic-irrational;
|
|
|
|
|
2015-05-22 11:06:28 +01:00
|
|
|
# https://github.com/kazu-yamamoto/ghc-mod/issues/437
|
2015-04-17 16:40:48 +01:00
|
|
|
ghc-mod = markBroken super.ghc-mod;
|
2015-04-17 19:25:01 +01:00
|
|
|
HaRe = dontDistribute super.HaRe;
|
2015-04-17 16:40:48 +01:00
|
|
|
ghc-imported-from = dontDistribute super.ghc-imported-from;
|
|
|
|
git-vogue = dontDistribute super.git-vogue;
|
2015-04-17 19:25:01 +01:00
|
|
|
haskell-token-utils = dontDistribute super.haskell-token-utils;
|
|
|
|
hbb = dontDistribute super.hbb;
|
2015-04-17 16:40:48 +01:00
|
|
|
hsdev = dontDistribute super.hsdev;
|
|
|
|
|
|
|
|
# https://github.com/lymar/hastache/issues/47
|
|
|
|
hastache = dontCheck super.hastache;
|
|
|
|
|
2015-04-19 18:48:11 +01:00
|
|
|
# The compat library is empty in the presence of mtl 2.2.x.
|
|
|
|
mtl-compat = dontHaddock super.mtl-compat;
|
|
|
|
|
2015-04-19 19:05:11 +01:00
|
|
|
# https://github.com/bos/bloomfilter/issues/11
|
|
|
|
bloomfilter = dontHaddock (appendConfigureFlag super.bloomfilter "--ghc-option=-XFlexibleContexts");
|
|
|
|
|
2015-04-19 19:18:13 +01:00
|
|
|
# https://github.com/ocharles/tasty-rerun/issues/5
|
|
|
|
tasty-rerun = dontHaddock (appendConfigureFlag super.tasty-rerun "--ghc-option=-XFlexibleContexts");
|
|
|
|
|
2015-05-18 14:59:44 +01:00
|
|
|
# http://hub.darcs.net/ivanm/graphviz/issue/5
|
2015-05-18 17:15:55 +01:00
|
|
|
graphviz = dontCheck (dontJailbreak (appendPatch super.graphviz ./graphviz-fix-ghc710.patch));
|
2015-05-18 14:59:44 +01:00
|
|
|
|
2015-04-20 16:07:35 +01:00
|
|
|
# Broken with GHC 7.10.x.
|
|
|
|
aeson_0_7_0_6 = markBroken super.aeson_0_7_0_6;
|
|
|
|
c2hs_0_20_1 = markBroken super.c2hs_0_20_1;
|
|
|
|
Cabal_1_20_0_3 = markBroken super.Cabal_1_20_0_3;
|
2015-05-06 10:18:44 +01:00
|
|
|
cabal-install_1_18_1_0 = markBroken super.cabal-install_1_18_1_0;
|
2015-04-20 16:07:35 +01:00
|
|
|
containers_0_4_2_1 = markBroken super.containers_0_4_2_1;
|
|
|
|
control-monad-free_0_5_3 = markBroken super.control-monad-free_0_5_3;
|
|
|
|
equivalence_0_2_5 = markBroken super.equivalence_0_2_5;
|
|
|
|
haddock-api_2_15_0_2 = markBroken super.haddock-api_2_15_0_2;
|
|
|
|
optparse-applicative_0_10_0 = markBroken super.optparse-applicative_0_10_0;
|
|
|
|
QuickCheck_1_2_0_1 = markBroken super.QuickCheck_1_2_0_1;
|
|
|
|
seqid-streams_0_1_0 = markBroken super.seqid-streams_0_1_0;
|
|
|
|
vector_0_10_9_3 = markBroken super.vector_0_10_9_3;
|
|
|
|
|
2015-05-10 20:58:01 +01:00
|
|
|
# https://github.com/purefn/hipbot/issues/1
|
2015-04-27 19:02:52 +01:00
|
|
|
hipbot = dontDistribute super.hipbot;
|
2015-05-10 20:58:01 +01:00
|
|
|
|
2015-05-05 20:24:27 +01:00
|
|
|
# https://github.com/HugoDaniel/RFC3339/issues/14
|
|
|
|
timerep = dontCheck super.timerep;
|
|
|
|
|
2015-05-18 14:40:11 +01:00
|
|
|
# Upstream has no issue tracker.
|
|
|
|
harp = markBrokenVersion "0.4" super.harp;
|
|
|
|
happstack-authenticate = dontDistribute super.happstack-authenticate;
|
|
|
|
|
2015-05-18 17:16:38 +01:00
|
|
|
# Upstream has no issue tracker.
|
|
|
|
llvm-base-types = markBroken super.llvm-base-types;
|
|
|
|
llvm-analysis = dontDistribute super.llvm-analysis;
|
|
|
|
llvm-data-interop = dontDistribute super.llvm-data-interop;
|
|
|
|
llvm-tools = dontDistribute super.llvm-tools;
|
|
|
|
|
|
|
|
# Upstream has no issue tracker.
|
|
|
|
MaybeT = markBroken super.MaybeT;
|
|
|
|
grammar-combinators = dontDistribute super.grammar-combinators;
|
|
|
|
|
|
|
|
# Required to fix version 0.91.0.0.
|
|
|
|
wx = dontHaddock (appendConfigureFlag super.wx "--ghc-option=-XFlexibleContexts");
|
|
|
|
|
|
|
|
# Upstream has no issue tracker.
|
|
|
|
Graphalyze = markBroken super.Graphalyze;
|
|
|
|
gbu = dontDistribute super.gbu;
|
|
|
|
SourceGraph = dontDistribute super.SourceGraph;
|
|
|
|
|
|
|
|
# Upstream has no issue tracker.
|
|
|
|
markBroken = super.protocol-buffers;
|
|
|
|
caffegraph = dontDistribute super.caffegraph;
|
|
|
|
|
|
|
|
# Deprecated: https://github.com/mikeizbicki/ConstraintKinds/issues/8
|
|
|
|
ConstraintKinds = markBroken super.ConstraintKinds;
|
|
|
|
HLearn-approximation = dontDistribute super.HLearn-approximation;
|
|
|
|
HLearn-distributions = dontDistribute super.HLearn-distributions;
|
|
|
|
HLearn-classification = dontDistribute super.HLearn-classification;
|
|
|
|
|
2015-01-10 10:02:37 +00:00
|
|
|
}
|