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

Hakyll not available in recent stackage (14.*) #730

Closed
vaclavsvejcar opened this issue Sep 12, 2019 · 6 comments
Closed

Hakyll not available in recent stackage (14.*) #730

vaclavsvejcar opened this issue Sep 12, 2019 · 6 comments

Comments

@vaclavsvejcar
Copy link

Hello,

I followed the installation tutorial and it fails because Hakyll seems not to be present in current version of stack (see the command line output bellow). Can I fix this some other way than to use old stackage snapshot? Do you plan to bring Hakyll back to stackage or is there something preventing it?

Thanks a lot in advance :)

$ hakyll-init test-blog
Creating test-blog/contact.markdown
Creating test-blog/index.html
Creating test-blog/posts/2015-11-28-carpe-diem.markdown
Creating test-blog/posts/2015-08-12-spqr.markdown
Creating test-blog/posts/2015-10-07-rosa-rosa-rosam.markdown
Creating test-blog/posts/2015-12-07-tu-quoque.markdown
Creating test-blog/site.hs
Creating test-blog/css/default.css
Creating test-blog/images/haskell-logo.png
Creating test-blog/templates/post.html
Creating test-blog/templates/default.html
Creating test-blog/templates/post-list.html
Creating test-blog/templates/archive.html
Creating test-blog/about.rst
Creating test-blog/test-blog.cabal

$ cd test-blog/

$ stack init
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- ./

Selecting the best among 16 snapshots...

* Partially matches lts-14.5
    hakyll not found
        - test-blog requires ==4.13.*

* Partially matches nightly-2019-09-12
    hakyll not found
        - test-blog requires ==4.13.*

* Partially matches lts-13.30
    hakyll not found
        - test-blog requires ==4.13.*

* Partially matches lts-12.26
    hakyll version 4.12.4.0 found
        - test-blog requires ==4.13.*

* Partially matches lts-11.22
    hakyll version 4.12.3.0 found
        - test-blog requires ==4.13.*

* Partially matches lts-10.10
    hakyll version 4.10.0.0 found
        - test-blog requires ==4.13.*

* Partially matches lts-9.21
    hakyll version 4.9.8.0 found
        - test-blog requires ==4.13.*

* Partially matches lts-8.24
    hakyll version 4.9.7.0 found
        - test-blog requires ==4.13.*

* Partially matches lts-7.24
    hakyll not found
        - test-blog requires ==4.13.*

* Partially matches lts-6.35
    hakyll version 4.8.3.2 found
        - test-blog requires ==4.13.*

* Partially matches lts-5.18
    hakyll version 4.7.5.2 found
        - test-blog requires ==4.13.*

* Partially matches lts-4.2
    hakyll version 4.7.5.1 found
        - test-blog requires ==4.13.*

* Partially matches lts-3.22
    hakyll version 4.7.5.1 found
        - test-blog requires ==4.13.*

* Partially matches lts-2.22
    hakyll version 4.6.9.0 found
        - test-blog requires ==4.13.*

* Partially matches lts-1.15
    hakyll not found
        - test-blog requires ==4.13.*

* Partially matches lts-0.7
    hakyll not found
        - test-blog requires ==4.13.*

Selected resolver: lts-14.5
Resolver 'lts-14.5' does not have all the packages to match your requirements.
    hakyll not found
        - test-blog requires ==4.13.*

This may be resolved by:
    - Using '--omit-packages' to exclude mismatching package(s).
    - Using '--resolver' to specify a matching snapshot/resolver
@essic
Copy link

essic commented Oct 23, 2019

Hello,

For now I changed to version 4.12 since 4.13 is not available on Stackage yet and I use resolver lts-12.26.
It works for now. I'll change things back later

@jaspervdj
Copy link
Owner

There's nothing preventing getting Hakyll into stack again but I would need someone to shepherd that since my plate is a little full these days. I'm happy to assist with anything on the Hakyll side (bumping versions, putting out new releases when needed...).

@hvr
Copy link

hvr commented Apr 12, 2020

@jaspervdj

For installation from source (i.e. via Hackage), stack is recommended

Quite frankly I'd recommend to provide Cabal instructions as well; you make it sound like our own haskell.org maintained tooling (ghcup & cabal) cannot be recommended and we need to push users towards 3rd party tooling (which ironically ends up being a bad recommendation)... ;-)

simonmichael added a commit to simonmichael/stackage that referenced this issue Apr 14, 2020
@jaspervdj
Copy link
Owner

@hvr I've added Cabal instructions as well now.

@simonmichael
Copy link

hakyll is in stackage again as of nightly-2020-04-15.

@Minoru
Copy link
Collaborator

Minoru commented Nov 11, 2020

Since LTS 16.0 Hakyll is back on Stackage, so I'm closing this. Thanks to @simonmichael for doing the work!

@Minoru Minoru closed this as completed Nov 11, 2020
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

6 participants