summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-08 11:55:39 +0100
committerPeter Simons <simons@cryp.to>2015-01-08 13:46:47 +0100
commit197e7672e647bf5f5492785048d7d8de1b14e227 (patch)
tree7d0d1e0cef0ffec6a8b660efd5d4e6d41f55daba /pkgs
parent0811375a69227bda4063410500e96302fe6ddc4e (diff)
downloadnixlib-197e7672e647bf5f5492785048d7d8de1b14e227.tar
nixlib-197e7672e647bf5f5492785048d7d8de1b14e227.tar.gz
nixlib-197e7672e647bf5f5492785048d7d8de1b14e227.tar.bz2
nixlib-197e7672e647bf5f5492785048d7d8de1b14e227.tar.lz
nixlib-197e7672e647bf5f5492785048d7d8de1b14e227.tar.xz
nixlib-197e7672e647bf5f5492785048d7d8de1b14e227.tar.zst
nixlib-197e7672e647bf5f5492785048d7d8de1b14e227.zip
haskell-configuration-ghc-7.9.x: improve configuration to fix some builds
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix7
1 files changed, 7 insertions, 0 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 671bd87ba078..65da7abf05ec 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
@@ -33,6 +33,13 @@ self: super: {
   # haddock: internal error: expectJust getPackageDetails
   mkDerivation = drv: super.mkDerivation (drv // { noHaddock = true; });
 
+  # These used to be a core packages in GHC 7.8.x.
+  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.
+  mtl = self.mtl_2_2_1;
+
   # Setup: At least the following dependencies are missing: base <4.8
   hspec-expectations = overrideCabal super.hspec-expectations (drv: {
     patchPhase = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal";