git.iko.soy/typeable/nixpkgs
on master help sign in
haskell-network: use older version to compile with GHC 7.4.x and before

Recent versions of network no longer support base libraries that old.

commite31b99c18796194c2f07e5ffe678fd2b46d41eab authorPeter Simons <simons@cryp.to> dateThu 22 Jun 2017, 20:53 (9 years ago) parent6b6cf69
4 files changed+13
pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix+4 pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix+4 pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix+4 pkgs/development/haskell-modules/configuration-hackage2nix.yaml+1
pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix+4
@@ -80,4 +80,8 @@ self: super: {
8080 # Needs nats on pre 7.6.x compilers.
8181 semigroups = addBuildDepend super.semigroups self.nats;
8282
83+ # Newer versions don't compile any longer.
84+ network_2_6_3_1 = dontCheck super.network_2_6_3_1;
85+ network = self.network_2_6_3_1;
86+
8387}
pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix+4
@@ -78,4 +78,8 @@ self: super: {
7878 semigroups = addBuildDepend super.semigroups self.nats;
7979 optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;
8080
81+ # Newer versions don't compile any longer.
82+ network_2_6_3_1 = dontCheck super.network_2_6_3_1;
83+ network = self.network_2_6_3_1;
84+
8185}
pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix+4
@@ -102,4 +102,8 @@ self: super: {
102102 QuickCheck = addBuildDepends super.QuickCheck (with self; [nats semigroups]);
103103 optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;
104104
105+ # Newer versions don't compile any longer.
106+ network_2_6_3_1 = dontCheck super.network_2_6_3_1;
107+ network = self.network_2_6_3_1;
108+
105109}
pkgs/development/haskell-modules/configuration-hackage2nix.yaml+1
@@ -2449,6 +2449,7 @@ extra-packages:
24492449 - hpack < 0.18 # required by stack-1.4.0
24502450 - mtl < 2.2 # newer versions require transformers > 0.4.x, which we cannot provide in GHC 7.8.x
24512451 - mtl-prelude < 2 # required for to build postgrest on mtl 2.1.x platforms
2452+ - network == 2.6.3.1 # newer versions don't compile with GHC 7.4.x and below
24522453 - parallel == 3.2.0.3 # newer versions don't work with GHC 6.12.3
24532454 - primitive == 0.5.1.* # required to build alex with GHC 6.12.3
24542455 - QuickCheck < 2 # required by test-framework-quickcheck and its users