From 0c3cddfc5277f26a4ebda0fff3fc796fb07804cd Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 25 Aug 2014 11:46:45 +0200 Subject: [PATCH] Build cabal-install-0.14.0 with network 2.3.x on GHC 7.4.2 and below. Fixes . --- pkgs/top-level/haskell-defaults.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/top-level/haskell-defaults.nix b/pkgs/top-level/haskell-defaults.nix index c8389f259c57..9a064212a40e 100644 --- a/pkgs/top-level/haskell-defaults.nix +++ b/pkgs/top-level/haskell-defaults.nix @@ -59,6 +59,10 @@ ghc742Prefs = self : super : ghc763Prefs self super // { aeson = self.aeson_0_7_0_4.override { blazeBuilder = self.blazeBuilder; }; + cabalInstall_0_14_0 = super.cabalInstall_0_14_0.override { + HTTP = self.HTTP.override { network = self.network_2_3_0_13; }; + network = self.network_2_3_0_13; + }; extensibleExceptions = null; # core package in ghc <= 7.4.x hackageDb = super.hackageDb.override { Cabal = self.Cabal_1_16_0_3; }; haddock = self.haddock_2_11_0;