Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/d485ad66e6ed3a0452e290206cbf54a70545fb44

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

commit d485ad66e6ed3a0452e290206cbf54a70545fb44
Author: Ian Lynagh <[email protected]>
Date:   Sun Jul 24 23:29:36 2011 +0100

    Add a missing implicit build dependency
    
    This should fix:
    
    libraries/base/Data/Maybe.hs:70:13:
        Failed to load interface for `GHC.Integer.Type'
        There are files missing in the `integer-gmp' package,
        try running 'ghc-pkg check'.
        Use -v to see a list of the files searched for.
        When deriving the instance for (Eq (Maybe a))
    make[1]: *** [libraries/base/dist-install/build/Data/Maybe.o] Error 1

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

 GHC/Base.lhs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/GHC/Base.lhs b/GHC/Base.lhs
index 06a8ff1..6c1f58b 100644
--- a/GHC/Base.lhs
+++ b/GHC/Base.lhs
@@ -119,6 +119,9 @@ import {-# SOURCE #-} GHC.IO (failIO)
 -- as imports here helps to get the dependencies right in the new build system.
 import GHC.Tuple ()
 import GHC.Unit ()
+-- Likewise we need Integer when deriving things like Eq instances, and
+-- this is a convenient place to force it to be built
+import GHC.Integer ()
 
 infixr 9  .
 infixr 5  ++



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to