This PR allows stack2cabal to be built using GHC 8.6.4 (and the latest Stackage's LTS).
Albeit building this project with stack might not be the top priority, I did find useful to bootstrap the tool by using stack, so I have also added a stack.yaml file.
Last but not least, apparently the representational rules for some types changed in the latest GHC (or maybe the API of containers did, go figure) but I had to change that coerce to something a bit longer. No clue if this will break older GHCs, but I don't think so.
This PR allows
stack2cabal
to be built using GHC 8.6.4 (and the latest Stackage's LTS).Albeit building this project with
stack
might not be the top priority, I did find useful to bootstrap the tool by using stack, so I have also added astack.yaml
file.Last but not least, apparently the representational rules for some types changed in the latest GHC (or maybe the API of
containers
did, go figure) but I had to change thatcoerce
to something a bit longer. No clue if this will break older GHCs, but I don't think so.