kazu-yamamoto / hhp

Happy Haskell Programming
BSD 3-Clause "New" or "Revised" License
67 stars 5 forks source link

Cabal v2 project support? #7

Open rikvdkleij opened 5 years ago

rikvdkleij commented 5 years ago

After cabal new-build it looks that hhp is not aware of the user-package-db. Modules which are defined as package dependencies in Cabal file can not be found.

Also doing this does not help: hhpc --ghcOpt="--user-package-db=~/.cabal/store/ghc-8.6.3/package.db" check src/Quicksort.hs

rikvdkleij commented 5 years ago

Setting GHC_PACKAGE_PATH helps but cabal does not like that.

kazu-yamamoto commented 5 years ago

Sorry but I'm now very busy. What I can do is look into this issue in April.

rikvdkleij commented 5 years ago

Thanks in advance!