From b79ae8c4d5519c9d04349cb9aeb8fff7d2d6d0ab Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 3 Feb 2015 16:36:16 +0100 Subject: [PATCH] contravariant, reflection: fix builds with GHC 7.6.3 --- pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix | 4 ++++ 1 file changed, 4 insertions(+) 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 2a1f47c1a90..14b6aa161de 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix @@ -63,6 +63,10 @@ self: super: { # Choose appropriate flags for our version of 'bytestring'. bytestring-builder = disableCabalFlag super.bytestring-builder "bytestring_has_builder"; + # Tagged is not part of base in this environment. + contravariant = addBuildDepend super.contravariant self.tagged; + reflection = dontHaddock (addBuildDepend super.reflection self.tagged); + } // { # Not on Hackage.