Skip to content

Commit

Permalink
Obtain the GHC libdir at runtime (haskell/ghcide#696)
Browse files Browse the repository at this point in the history
* Update to hie-bios 0.6.1

* Obtain the GHC libdir at runtime using hie-bios

This replaces hardcoding the GHC libdir path with ghc-paths and instead
gets it at runtime through the hie-bios cradle. This means that the
ghcide binary should be a bit more distributable now, since it won't
rely on paths baked at compile time that are local to the machine it was
compiled on. And we also no longer need the ghcLibCheck since we are
comparing the coompiled and runtime versions with the installationCheck
(ghcVersionChecker)

Co-authored-by: Fendor <[email protected]>
  • Loading branch information
lukel97 and fendor authored Jul 20, 2020
1 parent 735a360 commit 4204e38
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 216 deletions.
Loading

0 comments on commit 4204e38

Please sign in to comment.