Skip to content

HLS does not start up if stack's docker integration is enabled. #430

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
ProofOfKeags opened this issue Sep 24, 2020 · 5 comments
Closed
Labels
build tool: stack can-workaround component: hie-bios type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@ProofOfKeags
Copy link

Title says it all, I cannot seem to get hls to come up if docker: enable: true is in my stack.yaml file.

Your environment

  • vs code
  • stack project
  • docker: enable: true
  • ghc-8.6.3 (hls installation derived from 8.6.4 with package overrides), I suspect this is unrelated though and could just as easily be reproduced in another version.
@jneira jneira added the type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. label Sep 25, 2020
@jneira
Copy link
Member

jneira commented Sep 25, 2020

Thanks for reporting this, what is the log output of the startup (calling hls in the shell)? is there some error logged?

@jneira
Copy link
Member

jneira commented Sep 25, 2020

I guess the culprit is hie-bios, that maybe can't handle stack projects with docker enabled, see haskell/hie-bios#45
Maybe @fendor could confirm it.

@fendor
Copy link
Collaborator

fendor commented Sep 25, 2020

Indeed, hie-bios does not support running stack in docker mode. IIRC, we concluded, that the easiest solution is to run HLS in the docker container as well.

@jneira
Copy link
Member

jneira commented Mar 21, 2021

Another workaround could be disable docker in a specific stack.yaml for hls: see https://github.com/mpickering/hie-bios#stack

@michaelpj
Copy link
Collaborator

Tentatively closing as no recent reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build tool: stack can-workaround component: hie-bios type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

No branches or pull requests

4 participants