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

HLS integration fixes for the chainweb-data codebase #157

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

enobayram
Copy link
Contributor

This PR adds a hie.yaml to the project and also works around the following HLS bug:

haskell/haskell-language-server#481

That issue is actually related to stack, but seems like the cabal integration is suffering from the same in our case. There are quite a few relative-path related issues open in HLS anyway.

This commit uses the makeRelativeToProject function from file-embed (As suggested by phadej under another issue) in order to resolve the relative paths in a way that's independent of the build system, working around this long-standing HLS bug.

This commit works around the following HLS bug:

haskell/haskell-language-server#481

That issue is actually related to stack, but seems like the cabal
integration is suffering from the same in our case. There are quite a
few relative-path related issue open HLS anyway.

This commit uses the `makeRelativeToProject` function from file-embed
in order to resolve the relative paths in a way that's independent of
the build system, working around this long-standing HLS bug.
@enobayram enobayram merged commit 31ec8de into master Aug 8, 2023
@enobayram enobayram deleted the enis/hls-improvements branch August 8, 2023 08:02
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.

2 participants