heroku-buildpack-ghc
heroku-buildpack-ghc copied to clipboard
Next version of cabal will have a bindist command
This is long-term issue (perhaps there should be a cabal 1.22 milestone?)
The next version of cabal https://github.com/haskell/cabal/issues/1801 will have a cabal bindist
command to strip executables and package them up with data files. RAM is a bit scarce on heroku, so stripping would probably be a good thing.
Added the milestone. Is this issue part of #2?
Oh, perhaps closely related yes, but it'll have to wait for the next cabal release anyway. Perhaps it will be less work to prune once bindist
is available. I suppose that in theory the slug only needs to contain the binaries/data but you might want to retain the ability to use heroku run "cabal repl"
etc.