From 099c1a4522c9c1237e1dfc021ffb25ed13c2bff9 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 5 Aug 2015 14:26:42 +0200 Subject: [PATCH] haskell-tar: use older version for builds with GHC < 7.6.x. --- pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix | 3 +++ pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix | 3 +++ pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix | 3 +++ 3 files changed, 9 insertions(+) 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 c40075d9dee6..af34629e3196 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix @@ -70,4 +70,7 @@ self: super: { # Needs hashable on pre 7.10.x compilers. nats = addBuildDepend super.nats self.hashable; + # Newer versions require bytestring >=0.10. + tar = super.tar_0_4_1_0; + } 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 e30d31bdc870..1ec76e6fa192 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix @@ -70,4 +70,7 @@ self: super: { # Needs hashable on pre 7.10.x compilers. nats = addBuildDepend super.nats self.hashable; + # Newer versions require bytestring >=0.10. + tar = super.tar_0_4_1_0; + } 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 5b5cb9ffa180..0046ad66c23b 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix @@ -79,4 +79,7 @@ self: super: { # Avoid depending on tasty-golden. monad-par = dontCheck super.monad-par; + # Newer versions require bytestring >=0.10. + tar = super.tar_0_4_1_0; + }