From 5d6cdabf446b9032e47400fae82c250b060240f0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 19 Apr 2015 19:48:33 +0200 Subject: [PATCH] haskell-control-monad-free: use pre 0.6 version on older compilers --- pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix | 3 +++ pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix index 32a12c29e0f0..a0eb2724074c 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix @@ -64,4 +64,7 @@ self: super: { # Choose appropriate flags for our version of 'bytestring'. bytestring-builder = disableCabalFlag super.bytestring-builder "bytestring_has_builder"; + # Newer versions require a more recent compiler. + control-monad-free = super.control-monad-free_0_5_3; + } diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix index 52a6fd446892..d23bc99810a3 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix @@ -71,4 +71,7 @@ self: super: { # The compat library is empty in the presence of mtl 2.2.x. mtl-compat = dontHaddock super.mtl-compat; + # Newer versions require a more recent compiler. + control-monad-free = super.control-monad-free_0_5_3; + }