-thisCompiler :: Compiler
-thisCompiler = Compiler {
- compilerFlavor = GHC,
- compilerId = PackageIdentifier {
- pkgName = "ghc",
- pkgVersion = v
- },
- compilerProg = panic "No compiler program yet",
- compilerPkgTool = panic "No package program yet",
- compilerLanguagesKnown = True,
- compilerLanguages = supportedLanguages
- }
- where v = case readVersion cProjectVersion of
- Just version -> version
- Nothing ->
- panic ("Can't parse version: " ++ show cProjectVersion)
-