diff options
author | Peter Simons <simons@cryp.to> | 2012-05-28 10:53:46 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2012-05-28 10:53:46 +0000 |
commit | e6f2845b30c56345b79760857e52eda24fb66160 (patch) | |
tree | 0f02e4d202d8f6c63caceaf4e3360a09f04bbcc1 | |
parent | c664157e7d64a9c2e5c5009f54f4fa9a71d25637 (diff) |
haskell-defaults.nix: switch ghc 7.4.1 to latest versions of 'mtl' and 'transformers'
svn path=/nixpkgs/trunk/; revision=34256
-rw-r--r-- | pkgs/development/libraries/haskell/ltk/default.nix | 3 | ||||
-rw-r--r-- | pkgs/top-level/haskell-defaults.nix | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/haskell/ltk/default.nix b/pkgs/development/libraries/haskell/ltk/default.nix index a45169b4cc1b..a945512fa1cd 100644 --- a/pkgs/development/libraries/haskell/ltk/default.nix +++ b/pkgs/development/libraries/haskell/ltk/default.nix @@ -5,6 +5,9 @@ cabal.mkDerivation (self: { version = "0.12.0.0"; sha256 = "1hlsfi77yypfnvh1alr3rflbffby9pbmc71m507davr6b09v9w9f"; buildDepends = [ Cabal filepath glib gtk mtl parsec transformers ]; + patchPhase = '' + sed -i -e 's|mtl >=1.1.0.2 && <2.1|mtl|' -e 's|transformers >=0.2.2.0 && <0.3|transformers|' ltk.cabal + ''; meta = { homepage = "http://www.leksah.org"; description = "Leksah tool kit"; diff --git a/pkgs/top-level/haskell-defaults.nix b/pkgs/top-level/haskell-defaults.nix index 226fe64d91dd..42f0980c637d 100644 --- a/pkgs/top-level/haskell-defaults.nix +++ b/pkgs/top-level/haskell-defaults.nix @@ -26,9 +26,6 @@ ghc741Prefs = self : ghc741Prefs_pedantic self // { - # These are necessary at the moment to prevent many packages from breaking. - mtl = self.mtl_2_0_1_0; - transformers = self.transformers_0_2_2_0; }; ghc722Prefs = ghc741Prefs; @@ -266,5 +263,5 @@ ghc704Binary; prefFun = ghcHEADPrefs; }; - + } |