From f853764beed60eda92f3826a26e4b46644580c39 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 16 Sep 2015 21:18:23 +0200 Subject: [PATCH] haskell-hxt: fix build with older versions of network --- .../development/haskell-modules/configuration-ghc-7.8.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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 718855d18f33..c583dba87a91 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix @@ -129,4 +129,10 @@ self: super: { # 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; }; + # The network library is required in configurations that don't have network-uri. + hxt = addBuildDepend super.hxt self.network; + hxt_9_3_1_7 = addBuildDepend super.hxt_9_3_1_7 self.network; + hxt_9_3_1_10 = addBuildDepend super.hxt_9_3_1_10 self.network; + hxt_9_3_1_12 = addBuildDepend super.hxt_9_3_1_12 self.network; + }