On 17 January 2005 22:53, Sean Bowman wrote:

> I'm trying to install HUnit to use with ghci and hugs and having some
> trouble.  It works if I use the -i option with ghci, but I'd rather
> not have to specify that on the command line every time.  Putting it
> in a ~/.ghci file doesn't seem to work.  How can I set the search path
> for 3rd party Haskell modules?

You have two choices: use the -i option, or make a package.  The "right
way" to use 3rd party libraries is to make a package.  We're making it
easier to build packages with Cabal (http:///www.haskell.org/cabal/).

Incedentally, GHC 6.4 will come with HUnit.  And I believe there's a
Cabal version floating around somewhere that should install with GHC
6.2.2.

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to