haskell-language-server icon indicating copy to clipboard operation
haskell-language-server copied to clipboard

Probe-tools: Print stack ghc version

Open andys8 opened this issue 3 years ago • 0 comments

The ghc version on the $PATH is often not relevant for stack projects. The ghc version stack is using is printed in addition.

Example Output

haskell-language-server version: 1.7.0.0 (GHC: 9.2.4) (PATH: [...]/haskell-language-server-wrapper) (GIT hash: 0e74593e8df9665067174ca27543006c9a6ad230)
Tool versions found on the $PATH
cabal:          3.8.1.0
stack:          2.7.5
ghc:            9.2.4
stack ghc:      8.10.7

Discussion

@michaelpj Followup to this comment to sketch the idea for a change. Do you have something like this change in mind?

andys8 avatar Aug 11 '22 17:08 andys8