heroku-buildpack-ghc icon indicating copy to clipboard operation
heroku-buildpack-ghc copied to clipboard

Next version of cabal will have a bindist command

Open rehno-lindeque opened this issue 10 years ago • 2 comments

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.

rehno-lindeque avatar Apr 22 '14 07:04 rehno-lindeque

Added the milestone. Is this issue part of #2?

begriffs avatar Apr 22 '14 17:04 begriffs

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.

rehno-lindeque avatar Apr 23 '14 09:04 rehno-lindeque