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

Incomplete installation directions #59

Open
ofiryanai opened this issue Aug 11, 2021 · 1 comment
Open

Incomplete installation directions #59

ofiryanai opened this issue Aug 11, 2021 · 1 comment

Comments

@ofiryanai
Copy link

ofiryanai commented Aug 11, 2021

Hello, I'm new to Haskell and wanted to dive into this project.
I installed ghc and haskell-stack on my mac as the README suggested, but executing stack setup I kept getting errors like this:

Pulling image from registry: 'fpco/stack-build:lts-12.21'
fork/exec /usr/local/bin/com.docker.cli: bad file descriptor
Could not pull Docker image:
    fpco/stack-build:lts-12.21
There may not be an image on the registry for your resolver's LTS version in
your configuration file.

I tried to edit the docker image in the stack.yaml and the second stack yaml to no avail.

The issue was finally solved by docker pulling the relevant image externally, and then the rest of the process worked fine.

I guess I'd like to add this step to the documentation, if you'd like me to open a PR please just tell me how.
Thanks!

EDIT

ok, I thought I had after renaming and editing the yamls, in the end I restored the original git state (worked with the original yamls). so to sum it up, the only extra installation step needed is docker pull fpco/stack-build:lts-10.4 before running stack setup

@h4v0kh3l1
Copy link
Contributor

Thanks for looking into this. I've been away from this project for a while, but I can certainly help get a PR in.

It sounds like the PR would be a documentation change, so approving should be straightforward.
Opening a PR would be very similar to a standard GitHub PR, with some extra licensing agreement coming from Uber (I don't remember the exact details there). If that works for you, I can look at your PR and see if I can reproduce it, and get that in.

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

No branches or pull requests

2 participants