Compile binaries to dist/build, not sandbox folder
Merge pull request #14 from begriffs/no_recompile

Compile binaries to dist/build, not sandbox folder
Install deps prior to building

Fixes #15
Add a flag that can be used to clear the build cache
Add some feedback for the cache being cleared
Generalize installing prebuilt libraries

Only libffi for now, libpcre will be added next
Add the libpcre prebuilt library
Merge pull request #17 from rehno-lindeque/clear-cache

Add a flag that can be used to clear the buildpack cache
Document the CLEAR_BUILDPACK_CACHE option
Fix check for $CLEAR_BUILDCACHE_CACHE

Previously, it would just clear it no matter what.
Merge pull request #19 from jonsterling/master

Fix check for $CLEAR_BUILDCACHE_CACHE
Set default LANG to en_US.UTF-8

Sets en_US.UTF-8 following the pattern used by the Ruby and Python
buildpacks. Essentially, configure LANG default for the build, and
in the profile which creates the default context for the running
application.

References:

* Python buildpack language encoding:  https://github.com/heroku/heroku-buildpack-python/blob/566f7f4555dcde26252a0db01f6bd28f6bb00494/bin/compile#L84
* Ruby buildpack language encoding: https://github.com/heroku/heroku-buildpack-ruby/blob/2eb97fcbf5e369800596ba6b070fde0ef17c59e9/lib/language_pack/ruby.rb#L60
Merge pull request #22 from jsl/set_encoding_in_release

Set default LANG to en_US.UTF-8
Merge branch 'master' of github.com:begriffs/heroku-buildpack-ghc into prebuilt-library

Conflicts:
	bin/compile
Put all unwanted files in the temporary build path
Don't build static libraries

Only shared libraries are needed...
Copy libffi files into the correct cache/working paths

See also atgreen/libffi#55 atgreen/libffi#24
Pass --reorder-goals to "cabal install"...

Tweaks the cabal dependency resolution heuristics in some undocumented
way that makes cabal more likely to solve Yesod dependencies.  (Without
this you see odd errors like yesod-platform getting rejected because it
depends on a conflicting version of, say, aeson, than your app does,
even though your .cabal file doesn't actually specify which version of
aeson, and the whole point of yesod-platform was to lock it to a version
that would work.)

This feels like black magic, but it's recommended by the Yesod
documentation: http://www.yesodweb.com/page/quickstart :(
Merge pull request #24 from samstokes/cabal-reorder-goals

Pass --reorder-goals to "cabal install"
Allow customization through env vars