Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List available stack build plans

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.

like image 816
Geekingfrog Avatar asked Oct 08 '15 20:10

Geekingfrog


People also ask

How do I know if stack is installed?

You can also find the server details using following steps: http: <hostname:portn0>\index. html -> click on system information-> login with admin rights -> you can get all details about the installed server.

What does stack build do?

stack build takes a list of one or more optional targets to be built. The supported syntaxes for targets are: package, e.g. stack build foobar , is the most commonly used target. It will try to find the package in the following locations: local packages, extra deps, snapshots, and package index (e.g. Hackage).

What is stack Ghci?

stack ghci allows you to load components and files of your project into ghci . It uses the same TARGET syntax as stack build , and can also take options like --test , --bench , and --flag . Similarly to stack build , the default is to load up ghci with all libraries and executables in the project.

Where does stack install packages?

Stack installs the Stackage libraries in ~/. stack and any project libraries or extra dependencies in a . stack-work directory within each project's directory.


1 Answers

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:

  • https://github.com/fpco/lts-haskell (for lts-M.N snapshots)
  • https://github.com/fpco/stackage-nightly (for nightly-YYYY-MM-DD snapshots)
like image 199
Emanuel Borsboom Avatar answered Oct 20 '22 04:10

Emanuel Borsboom