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

Pin Haskell tool versions for VS Code #5196

Closed

Conversation

sellout
Copy link
Contributor

@sellout sellout commented Jul 9, 2024

This should help VS Code users get the same versions of various tools as Nix users do when working on Unison.

This also has the flake get its version pins from the VS Code settings. And we pin Cabal now, too.

This also has the flake get its version pins (when possible) from the VS
Code settings. And we pin Cabal now, too.
"haskell.toolchain": {
"cabal": "3.10.3.0",
"hls": "2.8.0.0",
"stack": "2.15.7"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wonder if VS Code or the extension will complain if we put the other version pins here, so they’re all in one place.

Or is that a bad idea because VS Code users might think that it’s actually pinning Ormolu, etc.

@sellout
Copy link
Contributor Author

sellout commented Jul 9, 2024

This is on top of the LTS upgrade (#5142). I don’t intend to merge it there, but just to block until that is merged.

@aryairani aryairani deleted the branch unisonweb:cp/ghc-upgrade July 15, 2024 20:48
@aryairani aryairani closed this Jul 15, 2024
@sellout
Copy link
Contributor Author

sellout commented Jul 15, 2024

Well, that’s interesting … I guess I shouldn’t point a merge at a branch that might get deleted.

@sellout
Copy link
Contributor Author

sellout commented Jul 15, 2024

Trying to re-point this at trunk now …

Copy link
Contributor

mergify bot commented Jul 15, 2024

⚠️ The sha of the head commit of this PR conflicts with #5228. Mergify cannot evaluate rules on this PR. ⚠️

@sellout sellout deleted the pin-vscode-versions branch August 15, 2024 05:50
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