diff options
author | Peter Simons <simons@cryp.to> | 2015-10-13 20:00:26 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-10-15 10:04:14 +0200 |
commit | a0376d4666c9933428c9511076ed468129183973 (patch) | |
tree | 639afc7438fb02a140e3eac66fb0c57825ea259a /pkgs/development/haskell-modules | |
parent | a7bddbd4caa1b5b95079a4b6aee96ccfe2331a93 (diff) | |
download | nixlib-a0376d4666c9933428c9511076ed468129183973.tar nixlib-a0376d4666c9933428c9511076ed468129183973.tar.gz nixlib-a0376d4666c9933428c9511076ed468129183973.tar.bz2 nixlib-a0376d4666c9933428c9511076ed468129183973.tar.lz nixlib-a0376d4666c9933428c9511076ed468129183973.tar.xz nixlib-a0376d4666c9933428c9511076ed468129183973.tar.zst nixlib-a0376d4666c9933428c9511076ed468129183973.zip |
haskell-conduit: fix build with pre-7.10.x versions of GHC
Thanks to @bennofs for finding this issue!
Diffstat (limited to 'pkgs/development/haskell-modules')
6 files changed, 18 insertions, 4 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 bfb9ecdb5ba3..06fedc6a1c4d 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix @@ -91,4 +91,7 @@ self: super: { # Needs hashable on pre 7.10.x compilers. nats = addBuildDepend super.nats self.hashable; + # Needs void on pre 7.10.x compilers. + conduit = addBuildDepend super.conduit self.void; + } diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix index 55432ccdac50..9ce0e9200422 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix @@ -73,4 +73,7 @@ self: super: { # Newer versions require bytestring >=0.10. tar = super.tar_0_4_1_0; + # Needs void on pre 7.10.x compilers. + conduit = addBuildDepend super.conduit self.void; + } diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix index c848a50cd366..ae85c4a009c1 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix @@ -73,4 +73,7 @@ self: super: { # Newer versions require bytestring >=0.10. tar = super.tar_0_4_1_0; + # Needs void on pre 7.10.x compilers. + conduit = addBuildDepend super.conduit self.void; + } diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix index 0046ad66c23b..aa27b70a566e 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix @@ -82,4 +82,7 @@ self: super: { # Newer versions require bytestring >=0.10. tar = super.tar_0_4_1_0; + # Needs void on pre 7.10.x compilers. + conduit = addBuildDepend super.conduit self.void; + } diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix index ccc4aa54c288..a1ce7cf68d6a 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix @@ -79,10 +79,6 @@ self: super: { # Needs hashable on pre 7.10.x compilers. nats = addBuildDepend super.nats self.hashable; - # Newer versions always trigger the non-deterministic library ID bug - # and are virtually impossible to compile on Hydra. - conduit = super.conduit_1_2_4_1; - # https://github.com/magthe/sandi/issues/7 sandi = overrideCabal super.sandi (drv: { postPatch = "sed -i -e 's|base ==4.8.*,|base,|' sandi.cabal"; @@ -96,4 +92,7 @@ self: super: { convertible = markBroken super.convertible; ghc-mod = markBroken super.ghc-mod; + # Needs void on pre 7.10.x compilers. + conduit = addBuildDepend super.conduit self.void; + } 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 e5f5d3c953a9..4b1d9df24e47 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix @@ -138,4 +138,7 @@ self: super: { xss-sanitize_0_3_5_4 = addBuildDepend super.xss-sanitize_0_3_5_4 self.network; xss-sanitize_0_3_5_5 = addBuildDepend super.xss-sanitize_0_3_5_5 self.network; + # Needs void on pre 7.10.x compilers. + conduit = addBuildDepend super.conduit self.void; + } |