Skip to content
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

Also resolve auto-generated component files. #5393

Merged
merged 1 commit into from
Sep 21, 2020
Merged

Also resolve auto-generated component files. #5393

merged 1 commit into from
Sep 21, 2020

Conversation

uncle-betty
Copy link
Contributor

This is a proposal to address #5392.

It basically passes the Cabal version down to the place where it's needed to generate the directory paths that hold auto-generated files, resolveComponentFiles. These directories are then used in addition to the hs-source-dirs directories to find .hs files for a component's modules.

I'm only superficially familiar with the stack codebase, but it seems that at least this doesn't break any of the tests.

@uncle-betty
Copy link
Contributor Author

"... didn't break any of the tests when I ran them on my machine" I should have said. :) I'll look into the test failures.

@uncle-betty
Copy link
Contributor Author

Oh, never mind. The failing tests seem to be build issues caused by casa.fpcomplete.com.

@ndmitchell
Copy link
Contributor

FWIW, in our project we've been getting failures to download from the fpcomplete server, so nice to know it's not just us!

Copy link
Contributor

@snoyberg snoyberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@snoyberg snoyberg merged commit e4a25e9 into commercialhaskell:master Sep 21, 2020
@snoyberg
Copy link
Contributor

Also: the server issues should hopefully be fixed. It's a temporary patch right now, but a better fix is coming. Also, we're hoping to get a new Stack release out the door. We already have the commits on master to make a server outage non-fatal, they just haven't been released yet.

@uncle-betty uncle-betty deleted the hie-bios branch September 21, 2020 12:40
@uncle-betty
Copy link
Contributor Author

Great! Thanks for the review and for the merge. Current master now works like a charm for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants