[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-'
>      it is a member of the hidden package `old-time-'
> 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-

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


More information about the Haskell-Cafe mailing list