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 46661b56d6b8..d928943fed3c 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix @@ -57,4 +57,10 @@ self: super: { # The test suite depends on time >=1.4.0.2. cookie = dontCheck super.cookie ; + # bytestring >=0.10.2.0 + streaming-commons = addBuildTool super.streaming-commons self.bytestring-builder; + + # Choose appropriate flags for our version of 'bytestring'. + bytestring-builder = disableCabalFlag super.bytestring-builder "bytestring_has_builder"; + } 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 c7de3ddaa786..a0ee12f334d6 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix @@ -57,4 +57,10 @@ self: super: { # The test suite depends on time >=1.4.0.2. cookie = dontCheck super.cookie ; + # bytestring >=0.10.2.0 + streaming-commons = addBuildTool super.streaming-commons self.bytestring-builder; + + # Choose appropriate flags for our version of 'bytestring'. + bytestring-builder = disableCabalFlag super.bytestring-builder "bytestring_has_builder"; + } 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 0ced8929c8fd..0b6c3995cb80 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix @@ -52,6 +52,9 @@ self: super: { # Depends on time == 0.1.5, which we don't have. HStringTemplate_0_8 = dontDistribute super.HStringTemplate_0_8; + # This is part of bytestring in our compiler. + bytestring-builder = dontHaddock super.bytestring-builder; + } // # packages relating to amazonka