ghcformacosx/ghc-dot-app

Adding packages

Opened this issue · 1 comments

How can I add packages to this? I am interested in building a similar .app that includes some number of packages pre-installed, in the spirit of the Haskell platform. What (roughly) would I need to do in order to accomplish this?

I've looked into this and gave up after running into some issues with getting Cabal to install packages in a way that is relocatable. I'm sure it's possible (especially if patching or wrapping Cabal is acceptable), but I didn't have sufficient need or interest to pursue it further. Haskell Platform may have some answers, but they may just rewrite paths as a post-install step.