Skip to content

Instantly share code, notes, and snippets.

@varreli
Created June 1, 2017 00:49
Show Gist options
  • Save varreli/7e3e9b158a399087c0c31d236dde82ee to your computer and use it in GitHub Desktop.
Save varreli/7e3e9b158a399087c0c31d236dde82ee to your computer and use it in GitHub Desktop.
also having trouble with stack
I'm running $ stack build primality now , and getting the same very slow process that I got for $ stack new primality:
~/haskell $ stack new primality
Downloading template "new-template" to create project "primality" in primality/ ...
The following parameters were needed by the template but not provided:
author-email, author-name, category, copyright, github-username
You can provide them in /home/john/.stack/config.yaml, like this:
templates:
params:
author-email: value
author-name: value
category: value
copyright: value
github-username: value
Or you can pass each one as parameters like this:
stack new primality new-template -p "author-email:value" -p "author-name:value" -p "category:value"
-p "copyright:value" -p "github-username:value"
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- primality/primality.cabal
Selecting the best among 10 snapshots...
Downloaded lts-8.16 build plan.
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage. Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage. Downloading root
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage. Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage. Downloading timestamp
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage. Downloading snapshot
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage. Downloading mirrors
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage. Cannot update index (no local copy)
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage. Downloading index
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage.fpcomplete.com/) ...recv: resource vanished (Connection reset by peer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment