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

Fix broken vs code extension build + lsp server #11

Merged
merged 4 commits into from
Dec 29, 2022
Merged

Conversation

goodlyrottenapple
Copy link
Contributor

@goodlyrottenapple goodlyrottenapple commented Dec 29, 2022

The nix build of the VS code inferno LSP extension was broken.
This also re-introduces the LSP server binary and re-routes the logging back to stderr, since the server communicates via stdio with the VS Code extension.
Finally, this also includes some M1 specific tweaks due to some broken packages:

  • ormolu is broken on the M1, failing with a segfault when linking the executable
  • ghc884 is not supported on the M1, the earliest supported one being ghc8107

@smurphy8 smurphy8 merged commit abb43ea into main Dec 29, 2022
@smurphy8 smurphy8 deleted the sam/lsp-server-fixes branch December 29, 2022 19:17
@@ -70,4 +71,6 @@ executable inferno-lsp-server
ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -threaded -rtsopts -with-rtsopts=-T
build-depends:
base >=4.7 && <5
, inferno-core
Copy link
Collaborator

Choose a reason for hiding this comment

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

Btw, we need version bounds on all dependencies in order to upload to hackage. (We can add this before the next update)

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.

None yet

3 participants