[Haskell-cafe] hsql won't install due to system.time

Malcolm Wallace malcolm.wallace at cs.york.ac.uk
Thu Jan 21 04:01:01 EST 2010


On 21 Jan 2010, at 06:10, Brian Denheyer wrote:
> Database/HaskellDB/HSQL.hs:25:7:
>    Could not find module `System.Time':
>      it is a member of the hidden package `old-time-1.0.0.3'
>      it is a member of the hidden package `old-time-1.0.0.2'
>
> Suggestions on how to fix this ...

The easiest workaround is to change your local copy of the .cabal file  
for hsql, modifying the build-depends line to make a more precise  
dependency on old-time, e.g.
     build-depends: old-time-1.0.0.2

If you are using cabal install, then you may need to take a couple of  
extra steps in order to be able to edit the .cabal file, e.g.

     cabal fetch hsql
     cd hsql-1.7.1
     <edit .cabal file>
     cabal install

Regards,
     Malcolm



More information about the Haskell-Cafe mailing list