Add ghcide configuration files
This commit adds two new files
- A
hie.yaml
file to the project root which specifies to IDEs how to set up the correct environment for loading GHC. This currently specifies to call the./hadrian/hie-bios
script. - The
./hadrian/hie-bios
script which supplies the correct arguments for an IDE to start a session.
With these two files it is possible to run
ghcide compiler/
and successfully load all the modules for use in the IDE.
Also related to https://github.com/alpmestan/ghc.nix/pull/46
Closes #17194 (closed)