haskell-tools.nvim icon indicating copy to clipboard operation
haskell-tools.nvim copied to clipboard

cabal-hoogle support

Open Nexmean opened this issue 1 year ago • 2 comments

cabal-hoogle is a tool for generating hoogle database for local packages and dependecies, like stack hoogle command, but for cabal projects.

Nexmean avatar Nov 25 '22 23:11 Nexmean

Thanks for the suggestion!

It might be a good idea to check if cabal-hoogle or stack hoogle is available when opening a project file, and fall back to hoogle if not.

mrcjkb avatar Nov 26 '22 05:11 mrcjkb

I have played around with cabal-hoogle for a bit. Unfortunately, I can't get it to generate a hoogle DB for any of my projects (on NixOS). My guess is that I am using a cached binary that was compiled with a different cabal version than the ones that I use for my projects.

mrcjkb avatar Nov 28 '22 20:11 mrcjkb