Skip to content

Conversation

@aaronshim
Copy link

Stack now generates the cabal file from the package.yml and stack.yml files. Also, the top-level package snap is not included in Stackage for the LTS version listed, so we must use the solver to pull in the extra dependencies.

Stack now generates the cabal file from the `package.yml` and `stack.yml` files. Also, the top-level package `snap` is not included in Stackage for the LTS version listed, so we must use the `solver` to pull in the extra dependencies.
@ivan444
Copy link
Collaborator

ivan444 commented Feb 13, 2018

Thanks for the PR!

Introducing package.yaml makes the codelab go a bit out of sync -- makes it inconsistent. When using package.yaml one should not touch .cabal file.

Do you mind updating the codelab so it always updates package.yaml instead of .cabal? And also update the memegen project?
(I can help, but it will have to wait for the weekend)


Try to build the application by running `stack build`. It will fail.
The `snap` dependency is missing. Open the Cabal configuration and add the
The `snap` dependency is missing. Open the `package.yml` and add the
Copy link
Collaborator

Choose a reason for hiding this comment

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

s/package.yml/package.yaml/

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