We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 511527c commit d74f009Copy full SHA for d74f009
exe/Wrapper.hs
@@ -14,6 +14,7 @@ module Main where
14
import Control.Monad.Extra
15
import Data.Char (isSpace)
16
import Data.Default
17
+import Data.Either (fromRight)
18
import Data.Foldable
19
import Data.List
20
import Data.Void
@@ -79,6 +80,10 @@ main = do
79
80
putStrLn hlsVer
81
putStrLn "Tool versions found on the $PATH"
82
putStrLn $ showProgramVersionOfInterest programsOfInterest
83
+ putStrLn "Tool versions found by cradle"
84
+ cradle <- findProjectCradle' False
85
+ ghcVersion <- runExceptT $ getRuntimeGhcVersion' cradle
86
+ putStrLn $ "ghc:\t\t" ++ fromRight "Not found" ghcVersion
87
88
VersionMode PrintVersion ->
89
0 commit comments