1
1
mirror of https://github.com/tweag/asterius.git synced 2024-09-21 05:48:04 +03:00
asterius/docs/cabal.md
2019-02-23 17:40:58 +08:00

513 B

Cabal support

Asterius now has preliminary Cabal support. By substituting toolchain executables like ghc/ghc-pkg and supplying some other configure options, Cabal can build static libraries and "executables" using asterius. The "executables" can be quickly converted to node/web artifacts using ahc-dist.

We also provide ahc-cabal which is a wrapper for cabal. ahc-cabal works with typical nix-style commands like new-update/new-build, etc. The legacy commands with v1 prefix may also work.