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

Minor Tutorial Issue #944

Closed
collin-kemper opened this issue Jul 30, 2022 · 1 comment
Closed

Minor Tutorial Issue #944

collin-kemper opened this issue Jul 30, 2022 · 1 comment
Labels

Comments

@collin-kemper
Copy link

When following the tutorial at https://jaspervdj.be/hakyll/tutorials/01-installation.html using stack, manually creating the stack.yaml file resulted in stack build failing. However, using the command stack init to generate the stack.yaml worked. Unless there is some compelling reason not to use stack init, I would recommend replacing the

Now, change into my-site directory and create a file stack.yaml here with the following content:

resolver: lts-14.16  # Adapt this as needed
packages:
 - .
extra-deps:
 - hakyll-4.13.0.1  # Or a later version you installed

With something like:

Now, change into my-site directory and run stack init to create the stack.yaml file.

I hope this helps.

Minoru added a commit that referenced this issue Aug 6, 2022
@Minoru
Copy link
Collaborator

Minoru commented Aug 6, 2022

Good idea, thanks! I applied it in 37c65d9.

@Minoru Minoru closed this as completed Aug 6, 2022
@Minoru Minoru added the docs label Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants