
I'm trying to get QuickCheck added to the available hat modules... So... I've added the source file at src/hatlibs/Test/QuickCheck.hs, I've modified src/hatlibs/Makefile to tell it to build the file, I've modified configure to make it install the .hx file... I've edited the src/hatlibs/hat.pkgconf and src/hatlibs/hat.cabal files to make ghc's package system make sense, I can't for the life of me figure out what to edit to tell it to install the .hi file! What do I need to do? Bob

Thomas Davie
I'm trying to get QuickCheck added to the available hat modules...
So... I've added the source file at src/hatlibs/Test/QuickCheck.hs, I've modified src/hatlibs/Makefile to tell it to build the file, I've modified configure to make it install the .hx file... I've edited the src/hatlibs/hat.pkgconf and src/hatlibs/hat.cabal files to make ghc's package system make sense, I can't for the life of me figure out what to edit to tell it to install the .hi file!
If you are not using Cabal to build and install the hat libraries, then the shell script at script/confhat does the actual copying of stuff to its final installed location. All you should need to do is add the new directories, e.g. "Test" to the DIRS variable near the top. Regards, Malcolm
participants (2)
-
Malcolm Wallace
-
Thomas Davie