diff options
author | Peter Simons <simons@cryp.to> | 2015-01-19 14:59:04 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-01-19 23:15:29 +0100 |
commit | f8710f9d81d198ea39538c6a492893005f54051f (patch) | |
tree | e6ab18ac757aa666afc4f2bf737c21b054ceede6 /pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix | |
parent | 8959aade3259a3dc4d3854c5a5eb3d9c88abfbb1 (diff) | |
download | nixlib-f8710f9d81d198ea39538c6a492893005f54051f.tar nixlib-f8710f9d81d198ea39538c6a492893005f54051f.tar.gz nixlib-f8710f9d81d198ea39538c6a492893005f54051f.tar.bz2 nixlib-f8710f9d81d198ea39538c6a492893005f54051f.tar.lz nixlib-f8710f9d81d198ea39538c6a492893005f54051f.tar.xz nixlib-f8710f9d81d198ea39538c6a492893005f54051f.tar.zst nixlib-f8710f9d81d198ea39538c6a492893005f54051f.zip |
haskell-ng: fix several builds with old versions of GHC
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix index 6641b27f0fd7..63a94f1585fb 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix @@ -41,7 +41,8 @@ self: super: { binary = self.binary_0_7_2_3; # deepseq is not a core library for this compiler. - deepseq = self.deepseq_1_4_0_0; + deepseq_1_3_0_1 = dontJailbreak super.deepseq_1_3_0_1; + deepseq = self.deepseq_1_3_0_1; # transformers is not a core library for this compiler. transformers = self.transformers_0_4_2_0; @@ -62,4 +63,16 @@ self: super: { patchPhase = "sed -ir -e 's|Extensions: | Extensions: UndecidableInstances, |' utf8-string.cabal"; }); + # https://github.com/haskell/HTTP/issues/80 + HTTP = doJailbreak super.HTTP; + + # 6.12.3 doesn't support the latest version. + primitive = self.primitive_0_5_1_0; + + # These packages need more recent versions of core libraries to compile. + happy = addBuildTools super.happy [self.Cabal_1_18_1_6 self.containers_0_4_2_1]; + network-uri = addBuildTool super.network-uri self.Cabal_1_18_1_6; + stm = addBuildTool super.stm self.Cabal_1_18_1_6; + split = super.split_0_1_4_3; + } |