about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-01-09 13:33:10 -0500
committerShea Levy <shea@shealevy.com>2015-01-09 13:33:10 -0500
commit119f5baa227bb04e8a24e0b227c07b3381dc9e9e (patch)
tree54066e0f9c2e1a4d9608be9910b6909ee6752877 /pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
parent38e2e8702c2548c60b8961951552e35ee812c426 (diff)
downloadnixlib-119f5baa227bb04e8a24e0b227c07b3381dc9e9e.tar
nixlib-119f5baa227bb04e8a24e0b227c07b3381dc9e9e.tar.gz
nixlib-119f5baa227bb04e8a24e0b227c07b3381dc9e9e.tar.bz2
nixlib-119f5baa227bb04e8a24e0b227c07b3381dc9e9e.tar.lz
nixlib-119f5baa227bb04e8a24e0b227c07b3381dc9e9e.tar.xz
nixlib-119f5baa227bb04e8a24e0b227c07b3381dc9e9e.tar.zst
nixlib-119f5baa227bb04e8a24e0b227c07b3381dc9e9e.zip
Fix transformers-compat on 7.10-ng
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
index c4e6fb7b1765..f19e6624504c 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
@@ -41,8 +41,11 @@ self: super: {
   old-locale = self.old-locale_1_0_0_7;
   old-time = self.old-time_1_1_0_3;
 
-  # We have transformers 4.x, so we can use the latest mtl.
+  # We have transformers 4.x
   mtl = self.mtl_2_2_1;
+  transformers-compat = overrideCabal super.transformers-compat (drv: {
+    configureFlags = [];
+  });
 
   # Setup: At least the following dependencies are missing: base <4.8
   hspec-expectations = overrideCabal super.hspec-expectations (drv: {