[Haskell-cafe] [cabal] How to deal with build-depency that not under cabal's control?

Roman Cheplyaka roma at ro-che.info
Sun Jun 14 06:25:42 EDT 2009

* Magicloud Magiclouds <magicloud.magiclouds at gmail.com> [2009-06-14 17:30:33+0800]
> Hi,
>   I use gtk2hs in linux. Well, I have no idea how to install gtk2hs by
> cabal, but my program needs it, and I want my program cabalized. So
> how to do this?
> Thanks.

gtk2hs consists of several cabal packages, e.g. gtk, glib and so on.
(See `ghc-pkg list`)
Specify those of them you need as dependencies in cabal file.

Roman I. Cheplyaka :: http://ro-che.info/
"Don't let school get in the way of your education." - Mark Twain

More information about the Haskell-Cafe mailing list