[HF-discuss] [Haskell-cafe] Do something about Cabal?

J Ho jho.xray at gmail.com
Thu Dec 10 14:17:39 UTC 2020


What's wrong with Stack though? Works like a charm in all our projects, and
with Nix integration takes care of the external c-libs etc dependencies
quite nicely.

On Thu, Dec 10, 2020 at 3:07 PM Ignat Insarov <kindaro at gmail.com> wrote:

> Thanks Francesco. I have also been using Cabal since a long time ago.
> There is no question that some great things get done in Cabal. Mostly,
> Cabal does what it says on the box, and this is why I propose to
> improve it and not, say, move to Stack. But you may see that many
> people prefer the latter — this seems even more weird since, as you
> illuminate, Cabal can already interoperate with Stackage, so it is
> strictly more featureful. _(As far as I follow, Stack still has poor
> support for Backpack and sub-package build targets.)_
>
> However, even in the light of the links you provide, we still cannot
> say that Cabal supports Stackage. You say:
>
> > >   There is no reason for two build tools to exist. The killer feature
> of Stack —
> > >   snapshots — should be supported by Cabal.
> >
> > As far as I know, this is already possible today! [1]
> >
> > [1] https://github.com/fpco/stackage-server/issues/232
> >     see also https://github.com/erikd/jenga/
> >              https://hackage.haskell.org/package/stack2cabal
>
> Heading to that link, the closing message says:
>
> > I've added a warning about the lack of support for revisions in
> cabal.config in f9632d7. Closing.
>
> So, something is not working. Reading in more detail, there is
> evidently a disagreement between the core developers of Cabal and
> Stack. And as I understand, it has not been addressed ever since! This
> is exactly an example of the kind of communication problems that I
> alluded to in my first letter. Also, as far as I can see, there has
> been zero effort from the Cabal team to integrate these other tools
> that you point to.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/hf-discuss/attachments/20201210/f95529a0/attachment-0001.html>


More information about the hf-discuss mailing list