Skip to content

Add cabal update to ghcup compile instructions in troubleshooting.md #2799

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

Closed
wants to merge 1 commit into from

Conversation

Fingerzam
Copy link

@Fingerzam Fingerzam commented Mar 24, 2022

ghcup compile does not seem to perform cabal update and this can result in build failures

`ghcup compile` does not seem to perform `cabal update` and this can result in build failures
@@ -186,13 +186,13 @@ stack install haskell-language-server --stack-yaml=stack-${ghcVersion}.yaml
You also can leverage `ghcup compile hls`:

```bash
ghcup compile hls -v 1.6.1.0 --ghc 8.10.7
cabal update && ghcup compile hls -v 1.6.1.0 --ghc 8.10.7
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we maybe add a comment explaining this? Cabal update can take some time to run, and people don't have to execute it every time.

@michaelpj
Copy link
Collaborator

I incorporated this into a recent PR.

@michaelpj michaelpj closed this Jul 7, 2022
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.

3 participants