haskell/haskell-ide-engine

How to debug hie problems?

Open

#567 opened on May 13, 2018

View on GitHub
 (17 comments) (0 reactions) (0 assignees)Haskell (2,358 stars) (205 forks)batch import
component: documentationgardening 🌱good first issuehelp wanted

Description

I'm having some difficulties getting haskell-ide-engine working under Emacs with my Nix configuration. Right now I'm facing this:

hie: <command line>: cannot satisfy -package-id aeson-1.2.4.0-G9AwmJGyHa062BMlqjD9fS
    (use -v for more information)

However, as far as I can tell, this is available in my environment, and cabal is building with this version of the library.

Is there a way to run hie so that I can try to track down where this is coming from? I'm not even sure yet how this is being triggered, since if I just run "hie" on the command-line, it doesn't report any errors, but neither do I know how to simulate whatever Emacs does when I open a Haskell file.

I'm asking here because I don't know what to do next, and I'd love to start using HIE for development. Thanks!

Contributor guide