hdevtools icon indicating copy to clipboard operation
hdevtools copied to clipboard

How to use hdevtools with .cabal projects?

Open nurpax opened this issue 11 years ago • 2 comments

Hi, I didn't see contact information on the hdevtools GH page, so I'm filing a bug to contact you :)

Q: how can I use hdevtools with a cabal project? E.g., if my project has foo.cabal, does hdevtools somehow know how to use this?

If not, what is the expected workflow for working in a project that's built using .cabal?

nurpax avatar Dec 26 '12 18:12 nurpax

hdevtools currently does not know anything about cabal. I have some experimental code that extracts the project settings from a .cabal file, but it's not currently complete.

For now, you must configure hdevtools manually (in a similar way that you would for GHCi).

For details how to do this, check out the "Specifying GHC Options" section of the README.

bitc avatar Jan 17 '13 14:01 bitc

https://github.com/bitc/hdevtools/pull/30

legrostdg avatar Mar 09 '14 17:03 legrostdg