yesodweb / yesod-scaffold

The Yesod scaffolding, with branches for different versions.
MIT License
75 stars 39 forks source link

WIP: Update deps for lts 18.10 -- Issue #205 #206

Open lowderdev opened 3 years ago

lowderdev commented 3 years ago

Issue #205

My plan of attack was as follows:

However I also ran into this error:

    classy-prelude-yesod not found
        - PROJECTNAME requires ==1.5.*

I guess classy-prelude-yesod doesn't ship with lts 18.10, and I don't see a stack.yaml at the root level of the project that I could add extra-deps to.

Sorry I couldn't get further than this! Any guidance on how to get passed this dependence on classy-prelude-yesod? My guess is that possible paths forward are:

Thoughts? Thanks in advance

snoyberg commented 3 years ago

I didn't remember that classy-prelude-yesod isn't in LTS. I think either adding it in, or modifying the scaffold to not use classy-prelude-yesod, are both good approaches here.

malteneuss commented 2 years ago

@lowderdev You probably need to add

extra-deps:
  - classy-prelude-yesod-1.5.0

to stack.yaml

edit: i've just seen that there's no such file in the postgres branch. @snoyberg Is there some other way to add this setting? The alternative of removing classy-prelude-yesod seems to be stuck in #194 for a long time.