solus-project / ypkg

Modern, declarative, structured build format
https://solus-project.com/
GNU General Public License v3.0
56 stars 20 forks source link

Added macros for Haskell Cabal #26

Closed DataDrake closed 7 years ago

DataDrake commented 7 years ago

These macros should make it considerably faster/easier to package haskell libraries and development binaries:

Caveats:

  1. Must always install ghc and haskell-cabal-install for the macros to work.
  2. cabal_register always removes static libs
  3. cabal_register assumes library is prefixed with haskell-