Re:Stack 0.1 – A new build tool for Haskell
by mightybyte on Tuesday June 23, 2015 @08:54PM
(#9768888)
For some use cases it might work as a replacement, but it doesn't have a dependency solver so I don't think you can really say it's a serious general-purpose cabal replacement. It's more like build porcelain for cases where you already have your package's whole dependency tree locked down.
[ Parent
| on HN ]
Re:Stack 0.1 – A new build tool for Haskell
by snoyberg on Tuesday June 23, 2015 @09:52PM
(#9769102)
This is false, see the `stack solver` and `stack init --solver` commands. Currently it's using cabal's dependency solver under the surface, but there is work in progress (by multiple parties) to implement a new SAT-based solver, see: https://github.com/commercialhaskell/stack/issues/116
Re:Stack 0.1 – A new build tool for Haskell
by mightybyte on Tuesday June 23, 2015 @10:50PM
(#9769272)
Ahh, my mistake. Cabal's solver is in the cabal-install package and since stack doesn't depend on it I assumed it wasn't tackling that problem.
Since it's actually shelling out to the cabal executable for its solving needs it still pretty much fits the definition of porcelain.