summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-06-04 13:20:44 +0200
committerPeter Simons <simons@cryp.to>2015-06-04 17:42:06 +0200
commite0f7ab678acbaafe52640068df01804a5cfc2556 (patch)
treea07a1808965ba140d0c456c8f0d6259c512d4265 /pkgs
parenta982892116d0a02cbaea595b006a6341e8b7d80a (diff)
downloadnixlib-e0f7ab678acbaafe52640068df01804a5cfc2556.tar
nixlib-e0f7ab678acbaafe52640068df01804a5cfc2556.tar.gz
nixlib-e0f7ab678acbaafe52640068df01804a5cfc2556.tar.bz2
nixlib-e0f7ab678acbaafe52640068df01804a5cfc2556.tar.lz
nixlib-e0f7ab678acbaafe52640068df01804a5cfc2556.tar.xz
nixlib-e0f7ab678acbaafe52640068df01804a5cfc2556.tar.zst
nixlib-e0f7ab678acbaafe52640068df01804a5cfc2556.zip
ghc-events: fix build of latest version with ghc-7.8.x
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix
index 9327af856e8a..2e95c78c625c 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix
@@ -131,4 +131,7 @@ self: super: {
     patchPhase = "sed -i -e 's|base ==4.8.*,|base,|' sandi.cabal"; }
   );
 
+  # Overriding mtl 2.2.x is fine here because ghc-events is an stand-alone executable.
+  ghc-events = super.ghc-events.override { mtl = self.mtl_2_2_1; };
+
 }