darcs: build with ghc 7.6.3 to avoid errors with 7.8.x

This commit is contained in:
Peter Simons 2014-07-10 15:13:03 +02:00
parent ebdd966bc6
commit 21a83ed49b

View File

@ -8270,10 +8270,11 @@ let
d4x = callPackage ../applications/misc/d4x { }; d4x = callPackage ../applications/misc/d4x { };
darcs = haskellPackages.darcs.override { darcs = haskellPackages_ghc763.darcs.override {
# A variant of the Darcs derivation that containts only the executable and # A variant of the Darcs derivation that containts only the executable and
# thus has no dependencies on other Haskell packages. # thus has no dependencies on other Haskell packages. We have to use the older
cabal = haskellPackages.cabal.override { # GHC 7.6.3 package set because darcs won't compile with 7.8.x.
cabal = haskellPackages_ghc763.cabal.override {
extension = self : super : { extension = self : super : {
isLibrary = false; isLibrary = false;
configureFlags = "-f-library " + super.configureFlags or ""; configureFlags = "-f-library " + super.configureFlags or "";