ghc-check-0.5.0.7: detect mismatches between compile-time and run-time versions of the ghc api
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Check.Executable

Description

Discover the GHC version by querying the GHC executable

Synopsis

Documentation

getGhcVersion :: FilePath -> IO Version Source #

Takes a path to the GHC binary to query. Throws if anything goes wrong.

guessExecutablePathFromLibdir :: FilePath -> NonEmpty FilePath Source #

Returns a list of possible paths for the GHC executable