-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust -i
paths used by ghci to point to autogen / etc files generated by newer Cabal
#3791
Comments
This also affects flycheck for emacs. It reports it can't find autogen modules, as stack ghci does. Downgrading the resolver from lts-10.3 to lts-9.21 seems to be a temporary solution. |
The latest version of stack has a small incompatibility with the latest version of cabal. Refer to commercialhaskell/stack#3791
Is this supposed to fix Edit: |
@mgsloan Does this still need to be a blocking issue? Hoping to get 1.7 out the door before too long. |
I think it would be good to merge #3795 before the release. Shoudla merged it earlier for more testing, but hey. I've pushed a rebased version, will merge after that passes CI. |
…-3791 Use per-component build directories for ghci with Cabal>=2.0 #3791
I think this change was introduced in
Cabal >= 2
.stack ghci
currently addsdist/build/autogen
and similar dirs to the source search path. Cabal's per component build instead puts them indist/build/$COMPONENT/autogen
.The text was updated successfully, but these errors were encountered: