Daniel Gröber (dxld)
Daniel Gröber (dxld)
I'm working on fleshing out the cabal-helper-1.0 API, figured I should see how bad I broke things using the old API so I decided to give porting this project a...
Hey, this looks really awesome, adding a company backend for ghc-mod has been on my TODO list for ages now, looks like you did it better than I could have...
1) We should try to recompile the runtime-main exe if the cached one fails to exec. It could be that the user upgraded their distribution and older soversions baked into...
See #40 and related discussion. Downloading the release tarball and latest cabal metadata using a HTTP library or wget/curl shouldn't be very hard to implement.
We use `localPkgDescr` in a couple of places, we probably shouldn't. See: - https://hackage.haskell.org/package/Cabal-2.0.0.2/docs/Distribution-Types-LocalBuildInfo.html#v:localPkgDescr, - https://hackage.haskell.org/package/Cabal-2.0.0.2/docs/Distribution-Types-HookedBuildInfo.html#t:HookedBuildInfo and - haskell/cabal#3606.
See here: https://github.com/haskell/cabal/pull/2771
See https://github.com/DanielG/ghc-mod/issues/725#issuecomment-171147068
[](https://gitlab.com/dxld/ghc-mod/commits/move-exe-specific-types) Other candidates: - `Expression`? - `ModuleName`?
For #615 Still need to add support for GHC version autodetection in the new `ghc-mod` wrapper.