[commit: packages/deepseq] master: Fix compilation with GHC 7.2 (2af92b3)

git at git.haskell.org git at git.haskell.org
Fri Mar 20 09:31:48 UTC 2015


Repository : ssh://git@git.haskell.org/deepseq

On branch  : master
Link       : http://git.haskell.org/packages/deepseq.git/commitdiff/2af92b376030c69c99fd6a47bbf91381d80fd91f

>---------------------------------------------------------------

commit 2af92b376030c69c99fd6a47bbf91381d80fd91f
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Fri Mar 20 07:48:22 2015 +0100

    Fix compilation with GHC 7.2
    
    Follow-up to cdfcdee14ce9071bbfbddf0007df8aee8015da48


>---------------------------------------------------------------

2af92b376030c69c99fd6a47bbf91381d80fd91f
 deepseq.cabal | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/deepseq.cabal b/deepseq.cabal
index 8c0a391..dd32d4c 100644
--- a/deepseq.cabal
+++ b/deepseq.cabal
@@ -44,6 +44,10 @@ library
       Safe
       TypeOperators
 
+    -- GHC.Generics lived in `ghc-prim` for GHC 7.2
+    if impl(ghc < 7.4)
+      build-depends: ghc-prim == 0.2.*
+
   build-depends: base       >= 4.3 && < 4.9,
                  array      >= 0.3 && < 0.6
   ghc-options: -Wall



More information about the ghc-commits mailing list