summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-04-19 19:48:33 +0200
committerPeter Simons <simons@cryp.to>2015-04-19 19:48:33 +0200
commit5d6cdabf446b9032e47400fae82c250b060240f0 (patch)
tree9cd440f8561d5f2753c5eb7305ee3f8baa514543 /pkgs/development/haskell-modules
parent5268dd470c20ed1e0fa287ac6a784900184ce32e (diff)
downloadnixlib-5d6cdabf446b9032e47400fae82c250b060240f0.tar
nixlib-5d6cdabf446b9032e47400fae82c250b060240f0.tar.gz
nixlib-5d6cdabf446b9032e47400fae82c250b060240f0.tar.bz2
nixlib-5d6cdabf446b9032e47400fae82c250b060240f0.tar.lz
nixlib-5d6cdabf446b9032e47400fae82c250b060240f0.tar.xz
nixlib-5d6cdabf446b9032e47400fae82c250b060240f0.tar.zst
nixlib-5d6cdabf446b9032e47400fae82c250b060240f0.zip
haskell-control-monad-free: use pre 0.6 version on older compilers
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix3
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix3
2 files changed, 6 insertions, 0 deletions
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;
+
 }