The purpose of this repository is to provide HIE for each major GHC version installable via Nix.
Hie built with specific GHC needs to match the major version of GHC used on development project.
$ git clone https://github.com/domenkozar/hie-nix.git
$ nix-env -f hie-nix -iA hies
Or for just a specific GHC:
$ nix-env -f hie-nix -iA hie82
$ hie-8.0 --help
$ hie-8.2 --help
$ ./update.sh
To follow discussion how correct version of hie is picked per project, read haskell/haskell-ide-engine#439 (comment)