summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-09-16 21:18:23 +0200
committerPeter Simons <simons@cryp.to>2015-09-19 08:20:53 +0200
commitf853764beed60eda92f3826a26e4b46644580c39 (patch)
tree2550bfbda225d4cdd6cb61e927149592a8d1bc61 /pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix
parent15853b39214b910f46a8a306bc16c14edd87fe37 (diff)
downloadnixpkgs-f853764beed60eda92f3826a26e4b46644580c39.tar
nixpkgs-f853764beed60eda92f3826a26e4b46644580c39.tar.gz
nixpkgs-f853764beed60eda92f3826a26e4b46644580c39.tar.bz2
nixpkgs-f853764beed60eda92f3826a26e4b46644580c39.tar.lz
nixpkgs-f853764beed60eda92f3826a26e4b46644580c39.tar.xz
nixpkgs-f853764beed60eda92f3826a26e4b46644580c39.tar.zst
nixpkgs-f853764beed60eda92f3826a26e4b46644580c39.zip
haskell-hxt: fix build with older versions of network
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix6
1 files changed, 6 insertions, 0 deletions
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 718855d18f3..c583dba87a9 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;
+
 }