GHC.Check.Executable
Description
Discover the GHC version by querying the GHC executable
getGhcVersion :: FilePath -> IO Version Source #
Takes a path to the GHC binary to query. Throws if anything goes wrong.
trim :: String -> String Source #
guessExecutablePathFromLibdir :: FilePath -> NonEmpty FilePath Source #
Returns a list of possible paths for the GHC executable