[Haskell-cafe] Package Management with Stack?

Adam Bergmark adam at bergmark.nl
Fri Mar 10 19:34:01 UTC 2017

How can you get these conflicts in the global stack project? I've never had
such issues. Packages are still sandboxed on a per-snapshot basis, I'm not
sure how extra-deps are handled here but they don't seem to cause any

On Fri, 10 Mar 2017 at 20:25 Brandon Allbery <allbery.b at gmail.com> wrote:

> On Fri, Mar 10, 2017 at 2:11 PM, Adam Bergmark <adam at bergmark.nl> wrote:
> You can also look for a stack.yaml in the repo of the executable and use
> that resolver + any extra deps on the command line, that'll most likely
> work even if the package isn't in a snapshot.
> "most likely" --- but it can fail.
> The point of having projects is to ensure they can't conflict with each
> other. If you install something in one and it's compatible with others, you
> can use it without redownloading/recompiling (in effect it gets mirrored
> into the new project). But if you slam everything into the global project,
> you can set up conflicts similar to those you get with cabal-install
> without sandboxes.
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170310/152c3d41/attachment.html>

More information about the Haskell-Cafe mailing list