[Haskell-cafe] Package Management with Stack?
Brandon Allbery
allbery.b at gmail.com
Fri Mar 10 19:25:07 UTC 2017
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/b6db6ef2/attachment.html>
More information about the Haskell-Cafe
mailing list