Open thyming opened 9 years ago
@thyming how did you install Haskell Platform? I've been slowly getting things to work on my mac. I abandoned the haskell platform via macports and just installed it via the installer. My repocache is in $HOME/Library/Haskell
, not $HOME/.cabal/packages
. However, the plugin is still unable to read the cabal package list.
Ooo, I actually fixed it just now. Had to put the cabal data path as $HOME/Library/Haskell
.
Getting an error message when i search for a package in the cabal window: "Can't read cabal package list."
I traced this down to the plugin looking in the wrong location for the repo cache. The plugin is assuming that osx distributions of cabal will have their repo cache in $CABAL/repo-cache when, for at least my version of cabal, this isn't the case and it's in $CABAL/packages.
As a workaround, I created a link from repo-cache to packages and that works fine for the time being.