-
Notifications
You must be signed in to change notification settings - Fork 844
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
Handle internal libraries in GHCi. #3982
Merged
mihaimaruseac
merged 9 commits into
commercialhaskell:master
from
mihaimaruseac:mm-ghci-internal-libs
May 17, 2018
Merged
Handle internal libraries in GHCi. #3982
mihaimaruseac
merged 9 commits into
commercialhaskell:master
from
mihaimaruseac:mm-ghci-internal-libs
May 17, 2018
Commits on May 12, 2018
-
Export utility functions for internal libraries
These should have been part of #3955 to be honest but were not needed at the time. Now they are needed, so I'm adding them as a separate commit, to be easy to cherry-pick them if the rest of the PR is not getting merged.
Configuration menu - View commit details
-
Copy full SHA for 3e21e04 - Browse repository at this point
Copy the full SHA 3e21e04View commit details -
In #3955, as support for compiling with sublibraries was added, a stale comment was left out in the code. Removed here as a separate commit to be easy to cherry-pick if needed.
Configuration menu - View commit details
-
Copy full SHA for 15137cd - Browse repository at this point
Copy the full SHA 15137cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc44551 - Browse repository at this point
Copy the full SHA bc44551View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89f5485 - Browse repository at this point
Copy the full SHA 89f5485View commit details -
Handle internal libraries when building package description for GHCi.
When GHCi starts it looks for a package in the format given by Cabal but stack used to pass the package name as the name of the sublibrary. So we remove the sublibrary from the list of packages GHCi should search for and add the munged name to the same list by using the `omitPkgs` and `addPkgs` lists.
Configuration menu - View commit details
-
Copy full SHA for 3f63b5c - Browse repository at this point
Copy the full SHA 3f63b5cView commit details -
Add field in pkg description for internal libs and use in GHCi.
We need to make a distinction between internal libraries and foreign libraries since we want GHCi to reload when an internal library file changes but we don't want it to confuse an internal library with a foreign one.
Configuration menu - View commit details
-
Copy full SHA for c972c89 - Browse repository at this point
Copy the full SHA c972c89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e0eba7 - Browse repository at this point
Copy the full SHA 7e0eba7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8d40c2 - Browse repository at this point
Copy the full SHA e8d40c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2936af5 - Browse repository at this point
Copy the full SHA 2936af5View commit details
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.