<div dir="ltr">I think it depends somewhat on operating system, since there are permissions issues to be dealt with regarding user vs global installation. In principle though: I think the HP installers would install to a non-stack-specific location, and then stack would simply use that GHC based on its inclusion in the PATH. (I'm also guessing this will tie in nicely with Linux distro packages, which would likely want ghc to live in /usr/bin).<br></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jul 12, 2015 at 10:11 AM Dan Burton <<a href="mailto:danburton.email@gmail.com">danburton.email@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Stack has the capability of downloading and installing GHC on demand, as well as auto-updating itself. Both of these features, by default, occur in subdirectories of the user's home directory. (Slightly different on Windows but same idea.) Would the Platform install GHC to the stack location directly, or install it system-wide as previously? (Stack can still make use of GHC anywhere on your path.)<span></span><br><br>On Sunday, July 12, 2015, Michael Snoyman <<a href="mailto:michael@snoyman.com" target="_blank">michael@snoyman.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I'm +1 on nailing down an LTS release cycle, I've been pushing for it, and planning that it would happen after the first few releases. I'm fine with doing it starting with the next release if that's desired.<br><br></div>The cygwin/msys conflict is a problematic one. stack has more flexibility addressing this than MinGHC did, since stack can control the PATH more directly. What we do now is, by default, add msys to the beginning of the PATH, and provide a command line option to not use msys at all. I believe this combination has addressed the bug reports we've received in the past.<br><br></div>That's not to say I'm opposed to generating binary databases; I'm actually in favor of having that option for all platforms at some point (there's an open stack issue about it[1]). But it's a significant amount of work, and I think if possible we should defer it until we've figured out initial integration points.<br><br>[1] <a href="https://github.com/commercialhaskell/stack/issues/117" target="_blank">https://github.com/commercialhaskell/stack/issues/117</a><br><div><div><div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jul 12, 2015 at 9:20 AM Gershom B <<a>gershomb@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I’m ccing cabal-devel, as that list seems pertinent to this discussion too. In general I’m in favor of unifying efforts such as this.<br>
<br>
For windows, I’d still like the _option_ to get prebuilt library binaries for the full platform db. The modularity means that they can be just downloaded in a separate folder now, rather than installed into e.g. the global db? If so, that’s a nice win. Here is my motivation — I tried the minghc installer and it mainly worked, but it played terribly with cygwin, which I use pervasively. So I found myself in a situation where one set of paths worked with cygwin, and the other set of paths let me build the network library. I still have some anxieties about those sorts of issues, and being able to “just download the binaries” would make me feel a bit safer about at least one workaround should things get too muddled up.<br>
<br>
If we synchronize LTS and “platform libs,” then I would like A) some way of distinguishing “blessed platform libs” from “other libs in LTS” (to solve the “curation problem” which has always been a goal of the platform) and B) a standardized release schedule for LTS.<br>
<br>
(And, of course, I assume this will _not_ be for the platform release upcoming, which is due very shortly, but we’ll have a longer lead time to integrate and shake out all the various issues and test, etc.)<br>
<br>
—Gershom<br>
<br>
<br>
On July 12, 2015 at 12:04:22 PM, Mark Lentczner (<a>mark.lentczner@gmail.com</a>) wrote:<br>
> *tl;dr: We'd like to incorporate stack into Haskell Platform, and stop<br>
> shipping pre-built packages, so we banish cabal hell, and have a single<br>
> common way to 'get Haskell' that just works.*<br>
><br>
> At ICFP '14, there were several long group discussions of the state of<br>
> "getting Haskell", including Haskell Platform, Stackage, and other<br>
> approaches. Over the last year, there have been a few more public<br>
> discussions and evolution on the ideas, and other installer developments.<br>
> In particular, Stackage's LTS package sets are a direct development from<br>
> this work, and the release of stack has offered new options.<br>
><br>
> Today, drawing from all this good work and ideas from so many, we'd would<br>
> like to propose a concrete plan:<br>
><br>
> - Haskell Platform becomes the standard way to get *GHC* and related<br>
> tools: *alex*, *cabal*, *happy*, *hscolour*, and *stack*. It's a<br>
> user-friendly, cross-platform installer that gives a standard way to "get<br>
> Haskell" for most users.<br>
> - Use the *stack* model for package installation:<br>
> - The global db has only the GHC packages<br>
> - There is a package db for each curated set, Haskell Platform<br>
> becomes one such set<br>
> - Projects each have their own package db, much like sandboxes.<br>
> - Haskell Platform's installer will no longer include pre-built,<br>
> pre-installed packages other than GHC's set. Instead, it is configured so<br>
> that *stack* can be used to build and install, on as needed, the<br>
> corresponding Haskell Platform release packages.<br>
><br>
> We think this plan solves many different community needs:<br>
><br>
> - We have a clear way to "get Haskell" that works for a wide variety of<br>
> use cases.<br>
> - HP installer gets much smaller, and about as minimal as a working<br>
> installation can get.<br>
> - By leaving most packages out of the global database, users of<br>
> cabal-install, will now have far fewer problems. Sandbox builds should now<br>
> never give users "cabal hell" like warnings.<br>
> - By building and installing the Platform packages into it's own package<br>
> db, users get the benefit of building and installing these common packages<br>
> only once per system, yet can easily bypass them for any given project if<br>
> desired.<br>
> - Since the Platform packages are now built and installed as needed,<br>
> installing on smaller systems or servers without OpenGL will work.<br>
><br>
> To do this, we have a bit of work ahead of us: We need to settle on<br>
> installation layout for each OS (including getting msys into the Windows<br>
> installer); decide on the naming and versioning of the Platform package set<br>
> (is it just LTS? does it have a different life cycle? etc...); getting<br>
> *stack* ready such a distribution; and configuring (or updating)<br>
> *cabal-install* to support the three-layer package db scheme. We think we<br>
> can do this in short order.<br>
><br>
> We recognize this represents a significant change for the Platform, and<br>
> will require buy-in from the various parts, especially *ghc*, *cabal*, and<br>
> *stack*. We'd like to get your input.<br>
><br>
> - Michael & Mark<br>
> _______________________________________________<br>
> Libraries mailing list<br>
> <a>Libraries@haskell.org</a><br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
><br>
<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a>ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div></div></div></div></div>
<p></p></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-- <br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You received this message because you are subscribed to the Google Groups "haskell-stack" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a>haskell-stack+unsubscribe@googlegroups.com</a>.<br>
To post to this group, send email to <a>haskell-stack@googlegroups.com</a>.<br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/haskell-stack/CAKA2JgKYuBMU5wtbjGV72dDKvSJePWbhoZeRCuJYR9SFoV8EDw%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/haskell-stack/CAKA2JgKYuBMU5wtbjGV72dDKvSJePWbhoZeRCuJYR9SFoV8EDw%40mail.gmail.com</a>.</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote><br><br>-- <br>-- Dan Burton<br>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "haskell-stack" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:haskell-stack+unsubscribe@googlegroups.com" target="_blank">haskell-stack+unsubscribe@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:haskell-stack@googlegroups.com" target="_blank">haskell-stack@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/haskell-stack/CALSygwfNjyxWFL0y4-_5aSyZZVQSeb5705MzZnaM4Q7GA2MLBg%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/haskell-stack/CALSygwfNjyxWFL0y4-_5aSyZZVQSeb5705MzZnaM4Q7GA2MLBg%40mail.gmail.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</blockquote></div>