You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.
At this stage it doesn't really matter where this library comes from we just need any Cabal library of the right version. The only way we could run into trouble (that I can think of) this way is if a user installed a custom version of Cabal with the same version but breaking changes and they don't realize they still have the cabal sandbox lying around since they moved to stack. That scenario sounds kind of unlikely to me.
Actually looking at the code I think I already laid out a code path for stack and just never got around to using it :) https://github.com/DanielG/cabal-helper/blob/master/CabalHelper/Compile.hs#L73 If you pass down --with-cabal-pkg-db=.. it will bypass all that logic and just use the Cabal library in there which is exactly what you want for stack. I think the only thing missing is the glue logic in Distribution.Helper and L.H.GM.CabalHelper in ghc-mod so if you want to implement that feel free.
The text was updated successfully, but these errors were encountered: