[commit: packages/deepseq] master, wip/container-travis: Disallow building with GHC-7.2 + array-0.4 (3c348a8)

git at git.haskell.org git at git.haskell.org
Wed Apr 20 13:04:46 UTC 2016


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

On branches: master,wip/container-travis
Link       : http://git.haskell.org/packages/deepseq.git/commitdiff/3c348a8348f8ada85a8ee349a13456cd86d85790

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

commit 3c348a8348f8ada85a8ee349a13456cd86d85790
Author: Adam Bergmark <adam at bergmark.nl>
Date:   Sun May 10 20:56:18 2015 +0200

    Disallow building with GHC-7.2 + array-0.4
    
    ```
    [1 of 1] Compiling Control.DeepSeq  ( Control/DeepSeq.hs, dist/dist-sandbox-c66cf055/build/Control/DeepSeq.o )
    
    Control/DeepSeq.hs:91:1:
        ghc-prim:GHC.Generics can't be safely imported! The module itself isn't safe.
    ```


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

3c348a8348f8ada85a8ee349a13456cd86d85790
 deepseq.cabal | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/deepseq.cabal b/deepseq.cabal
index 7435b25..a6bb955 100644
--- a/deepseq.cabal
+++ b/deepseq.cabal
@@ -48,6 +48,9 @@ library
     if impl(ghc < 7.6)
       build-depends: ghc-prim == 0.2.*
 
+  if impl(ghc < 7.4)
+    build-depends: array < 0.4
+
   build-depends: base       >= 4.3 && < 4.9,
                  array      >= 0.3 && < 0.6
   ghc-options: -Wall



More information about the ghc-commits mailing list