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

adding stack.yaml #72

Open
Lightyagami1 opened this issue Oct 2, 2018 · 8 comments
Open

adding stack.yaml #72

Lightyagami1 opened this issue Oct 2, 2018 · 8 comments

Comments

@Lightyagami1
Copy link

I tried with lts-11.11, after generating stack.yaml from cabal.yaml using stack init

@mightybyte
Copy link
Owner

What exactly are you proposing? Did it work after stack init? If so, I don't see the need to include a stack.yaml because that's just another thing to maintain.

@Lightyagami1
Copy link
Author

I'm proposing to include a stack.yaml.
The generated stack.yaml from stack init had dependency issues, I had to use a older version of stack resolver.

@mightybyte
Copy link
Owner

Can you give some details about the problem you ran into with stack init? It sounds like we should fix it so that works.

@korayal
Copy link

korayal commented Oct 3, 2018

the stack.yaml file generated with stack init --resolver lts-11.11 or stack init (which uses lts-12.11 as the resolver) (stack v1.7.1) on master branch builds without any problem on my setup.

@Lightyagami1
Copy link
Author

stack --version
Version 1.7.1 x86_64

While building with stack build using lts-12.11 (with stack init),

The following packages are broken because other packages they depend on are missing. These broken packages must be rebuilt before they can be used.
installed package haddock-library-1.5.0.1 is broken due to missing package haddock-library-1.5.0.1-919WkNWGnku6Kvc4vlhbv1-attoparsec

@mightybyte
Copy link
Owner

Hmmm, that's strange. It seems to work with lts-12.11 and the same (or at least very close to the same) version for @korayal but not for @Lightyagami1. What OS are you both using?

@korayal
Copy link

korayal commented Oct 12, 2018 via email

@Lightyagami1
Copy link
Author

I'm on MacOS High Sierra (10.13.6)

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

3 participants