fix bug with Paths_MicroHs not being regenerated#454
Open
Rewbert wants to merge 1 commit intoaugustss:masterfrom
Open
fix bug with Paths_MicroHs not being regenerated#454Rewbert wants to merge 1 commit intoaugustss:masterfrom
Rewbert wants to merge 1 commit intoaugustss:masterfrom
Conversation
Owner
|
I will get rid of paths stuff altogether. Very soon. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It is built in
dist-mcabal/per the Makefile. Its contents are created from variables in the Makefile. The rule to built it, however, has no prerequisites.I had forked and installed mhs when the version was
0.14.x.x, and thus had aPaths_MicroHs.hsin there that contained these versions. When I pulled and rebuilt/installed the compiler after the version had bumped to0.15.x.x, this file was not regenerated (as mydist-mcabal/remained from before).Installation proceeded as expected and without errors, but at runtime there were discrepancies. I had made changes to
eval.cthat never appeared at runtime. Things were copied over during installation to both~/.mcabal/mhs-0.15.5.0/and~/.mcabal/mhs-0.15.4.0/. I didn't dig into exactly what went were, but this one-liner seemed to fix it. Nightmare to narrow down this issue!I don't know if this is the correct fix, please advise @augustss