getsolus / ypkg

Modern, declarative, structured build format
https://getsol.us
GNU General Public License v3.0
22 stars 11 forks source link

rc: new Haskell macros for Nix-style Cabal builds #35

Closed GZGavinZhao closed 1 year ago

GZGavinZhao commented 1 year ago

Documented by Cabal here. The necessary libraries (Distribution.Simple) are built with GHC, so this can remove the cyclic dependency where every Haskell package depends on cabal-install.

Depends on getsolus/usysconf#12.

joebonrichie commented 1 year ago

Can you add legacy macros e.g.

- cabal_register: *haskell_register

etc, so that existing packages don't break. When everything is moved over we can remove them.

GZGavinZhao commented 1 year ago

Ah sorry, this is not finished yet. I was building a copy of ypkg locally to test, hence the push activities.