On Tue, 20 Oct 2026 at 10:33, Moritz Angermann <[email protected]>
wrote:

>
> I think what would be nice would be if cabal could be the cabal project ->
> buck project translator.
> That would allow any generic cabal project (e.g. ghc) to be buildable via
> buck.
>

I mean, that's pretty much what I've done :-) The Buck2 build system is
based on https://hackage.haskell.org/package/cabal-buck2

The differences between a generic Cabal project and GHC amount to
(currently) 1400 lines of extra stuff. I'd say most of this is to deal with
stages, the RTS, and building a GHC libdir. I think that's quite
reasonable, there's a limit to how much GHC-specific stuff you would want
to move into Cabal.

Cheers
Simon
_______________________________________________
ghc-devs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to