Closed DataDrake closed 7 years ago
These macros should make it considerably faster/easier to package Haskell libraries and development binaries:
cabal_configure
ghc
cabal_build
cabal_install
cabal_register
A pattern was also added to move the static libs into a -devel sub-package
Caveat You must always install ghc and haskell-cabal-install for the macros to work.
haskell-cabal-install
Indentation in rc.yml is bork but I'll fix post-merge ty
rc.yml
These macros should make it considerably faster/easier to package Haskell libraries and development binaries:
cabal_configure
Create a user package database, rebuild the 'package.cache' forghc
, then configure for a dynamically linked buildcabal_build
Compile the source with %JOBS% processescabal_install
Install the outputs to $installdircabal_register
Generate the package.conf.d entry and install itA pattern was also added to move the static libs into a -devel sub-package
Caveat You must always install
ghc
andhaskell-cabal-install
for the macros to work.