Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does stack find packages from extra-deps?

In https://docs.haskellstack.org/en/stable/GUIDE/#extra-deps

The docs mentioned one example of adding and extra-deps only by name. I know that we can specific GitHub url too, but when we provide just the name, how stack knows where to find a package that is not in the snapshot?

like image 406
Alexandre Rademaker Avatar asked Nov 20 '25 07:11

Alexandre Rademaker


1 Answers

Ok, the blog post mentioned by @sjakobi says that both cabal-install and stack uses the package index from hackage.

like image 86
Alexandre Rademaker Avatar answered Nov 22 '25 03:11

Alexandre Rademaker