No description
Find a file
Yann Esposito (Yogsototh) f3e7231809 More log to debug
2012-04-13 14:58:10 +02:00
bin Added PATH for compiling 2012-04-13 14:51:10 +02:00
features Add some bin/compile script scenarios 2012-02-18 02:35:00 -06:00
scripts More log to debug 2012-04-13 14:58:10 +02:00
templates Add templates for Aruba reporting 2012-02-20 23:27:43 -06:00
.gitignore Heroku buildpack env with working {detect,release} 2012-02-18 01:26:20 -06:00
.rvmrc.example Heroku buildpack env with working {detect,release} 2012-02-18 01:26:20 -06:00
Gemfile Add gem dependencies for test and build groups 2012-02-20 23:25:21 -06:00
Gemfile.lock Add gem dependencies for test and build groups 2012-02-20 23:25:21 -06:00
Rakefile Heroku buildpack env with working {detect,release} 2012-02-18 01:26:20 -06:00
README.md Update Status section in README.md 2012-02-21 10:17:58 -06:00

GHC/Cabal Heroku Buildpack

This is a custom Heroku buildpack for Haskell applications that are built using GHC and Cabal.

Status

UNFINISHED! Check back next weekend - 2012-02-21

Version / Dependencies

Based on the current (as of this writing) Haskell Platform (2011.4.0.0 -> GHC v7.0.4).

Work will be done after some level of stability to update this buildpack to support GHC 7.4.x soon thereafter.

The goal will be to allow some variance of GHC and Platform versions. At present there are zero plans to actively support GHC 6.x with this buildpack. If it happens to work, then great, otherwise you are free to fork this repository to make it work for your needs.

Usage

Like other buildpacks you will need to specify the buildpack when creating your Heroku application. Something like the following:

heroku create --stack cedar --buildpack https://github.com/mbbx6spp/cabal-heroku-buildpack
heroku plugins:install http://github.com/heroku/heroku-labs.git
heroku labs:enable user_env_compile --app YOUR_APP_NAME

You will also need to specify environment variables after your app is created. For instance,

BUILDPACK_GHC_BASE_URL
BUILDPACK_PLATFORM_BASE_URL

These should be your S3 base URL for the GHC bootstrap and Platform distributions respectively.

More to be said, but I am too tired to write it now.

Check back soon.

Contributors