AtnNn / cabal-ghci

cabal-ghci
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Pick up include-dirs option from cabal file. #4

Open nick8325 opened 9 years ago

nick8325 commented 9 years ago

This patch translates any include-dirs: blah directive into -Iblah when invoking GHCi. It also adds the autogen directory to the include path as that's where cabal_macros.h lives.

nick8325 commented 9 years ago

Just saw on Hackage that the package is deprecated - didn't notice that! Never mind, it works for me :)