Adding a stack.yaml to containers, will this break anything?

8 views
Skip to first unread message

Matt Renaud

unread,
Dec 28, 2017, 11:08:47 AM12/28/17
to haskell-stack
Hey! I've recently started contributing to the containers package and noticed that its not possible to use Stack out of the box when building and testing locally. We wanted to add a simple stack.yaml file but I've only used stack for personal projects and don't know if this will affect the building of containers for Stackage. If someone who's familiar with the process could take a look it would be much appreciated. Thanks!

Michael Snoyman

unread,
Dec 28, 2017, 12:02:39 PM12/28/17
to Matt Renaud, haskell-stack
It will have no impact, for a few reasons:

1. Stackage doesn't pay any attention to stack.yaml files
2. Unless you modify containers.cabal, the stack.yaml file will not be included in the tarball uploaded to Hackage

On Thu, Dec 28, 2017 at 6:06 PM, Matt Renaud <mren...@gmail.com> wrote:
Hey! I've recently started contributing to the containers package and noticed that its not possible to use Stack out of the box when building and testing locally. We wanted to add a simple stack.yaml file but I've only used stack for personal projects and don't know if this will affect the building of containers for Stackage. If someone who's familiar with the process could take a look it would be much appreciated. Thanks!

--
You received this message because you are subscribed to the Google Groups "haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stack+unsubscribe@googlegroups.com.
To post to this group, send email to haskel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/652bc931-6699-4ac8-a426-84294514ed67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Matt Renaud

unread,
Dec 28, 2017, 12:20:16 PM12/28/17
to haskell-stack
Great, thanks for confirming :)
Reply all
Reply to author
Forward
0 new messages