7

How can I get the list of available build plans for stack? On some system I get lts-3.7 and some other I have lts-3.1.

Erik Kaplun
  • 37,128
  • 15
  • 99
  • 111
Geekingfrog
  • 191
  • 1
  • 8

1 Answers1

6

A list of all available snapshots is at https://www.stackage.org/snapshots. Stackage.org builds this list from the build plans in these repositories:

  • is there a way to get that on the cmdline? or is it always the same and not dependent on the machine? – Erik Kaplun Oct 09 '15 at 07:37
  • 2
    It isn't the full information, but this will give you back some JSON showing the latest nightly, and latest minor version for every major LTS release: `curl -sSL http://www.stackage.org/download/lts-snapshots.json` – Emanuel Borsboom Oct 09 '15 at 12:09
  • Is there also a way to get a list of available resolvers? – Magnus Oct 13 '15 at 06:05
  • I don't believe that there is. You can submit a feature request at https://github.com/commercialhaskell/stack/issues/new – Emanuel Borsboom Oct 14 '15 at 22:54