haskell / hie-bios

Set up a GHC API session for various Haskell Projects
https://hackage.haskell.org/package/hie-bios
BSD 3-Clause "New" or "Revised" License
181 stars 63 forks source link

Cabal cradle: change error message on failure #353

Closed smatting closed 2 years ago

smatting commented 2 years ago

This changes the first line of the error message that is shown when the cabal cradle fails to

Failed to run ["cabal", "v2-repl",  ..] in directory  "/home/foo/...". See below for full command and error.

(the error message was Failed to parse result of calling cabal before, which is less informative).

cc @fendor