monad-challenges icon indicating copy to clipboard operation
monad-challenges copied to clipboard

adding stack.yaml

Open Lightyagami1 opened this issue 7 years ago • 8 comments

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

Lightyagami1 avatar Oct 02 '18 08:10 Lightyagami1

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.

mightybyte avatar Oct 02 '18 14:10 mightybyte

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.

Lightyagami1 avatar Oct 02 '18 17:10 Lightyagami1

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

mightybyte avatar Oct 03 '18 07:10 mightybyte

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.

korayal avatar Oct 03 '18 09:10 korayal

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

Lightyagami1 avatar Oct 03 '18 15:10 Lightyagami1

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?

mightybyte avatar Oct 12 '18 14:10 mightybyte

Right now I'm on Ubuntu 18.04 x64

On Fri, Oct 12, 2018, 17:32 Doug Beardsley [email protected] wrote:

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 https://github.com/korayal but not for @Lightyagami1 https://github.com/Lightyagami1. What OS are you both using?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/mightybyte/monad-challenges/issues/72#issuecomment-429346287, or mute the thread https://github.com/notifications/unsubscribe-auth/AATJyQndbwDhdAW93EqapUnHOHM7Q28Zks5ukKfmgaJpZM4XDhvd .

korayal avatar Oct 12 '18 14:10 korayal

I'm on MacOS High Sierra (10.13.6)

Lightyagami1 avatar Oct 15 '18 04:10 Lightyagami1