Permalink
Browse files

wip fix darcs compilation after recent haskell update

  • Loading branch information...
jerith666 committed Jan 5, 2019
1 parent 04c6928 commit f97acd9da6e9dc1fbf83bd48a25371357a2b8af6
Showing with 6 additions and 1 deletion.
  1. +6 −1 pkgs/development/haskell-modules/configuration-common.nix
@@ -523,6 +523,11 @@ self: super: {
# containers >=0.4 && <0.6 is too tight
friday = doJailbreak super.friday;

# QuickCheck >=2.3 && <2.12,
# fgl >=5.5.0.0 && <5.7,
# hspec >=2.1 && <2.6 all too tight
graphviz = doJailbreak super.graphviz;

# Won't compile with recent versions of QuickCheck.
inilist = dontCheck super.inilist;
MissingH = dontCheck super.MissingH;
@@ -939,7 +944,7 @@ self: super: {

# Jailbreak "unix-compat >=0.1.2 && <0.5".
# Jailbreak "graphviz >=2999.18.1 && <2999.20".
darcs = overrideCabal super.darcs (drv: { preConfigure = "sed -i -e 's/unix-compat .*,/unix-compat,/' -e 's/fgl .*,/fgl,/' -e 's/graphviz .*,/graphviz,/' darcs.cabal"; });
darcs = overrideCabal super.darcs (drv: { preConfigure = "sed -i -e 's/unix-compat .*,/unix-compat,/' -e 's/fgl .*,/fgl,/' -e 's/graphviz .*,/graphviz,/' -e 's/base .*,/base,/' -e 's/network .*,/network,/' -e 's/stm .*,/stm,/' -e 's/zip-archive .*,/zip-archive,/' darcs.cabal"; });

# aarch64 and armv7l fixes.
happy = if (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) then dontCheck super.happy else super.happy; # Similar to https://ghc.haskell.org/trac/ghc/ticket/13062

0 comments on commit f97acd9

Please sign in to comment.