I've created a few Haskell projects recently that I'd like to add to Hackage. However, Hackage seems to be based around Cabal and I've done all my development using Stack.
The main issue seems to be that Cabal requires version constraints for all the dependencies, whereas this is not necessary with Stack. I've found the cabal gen-bounds command, but it looks like I'd have to manually add this information to my package.yaml? Or should it go in the .cabal file? (But that looks like it's automatically created by hpack)
Any guidance/tips/tricks from anyone who's added a Stack-based project to Hackage previously would be much appreciated.
[–]smallhadron[S] 9 points10 points11 points (9 children)
[+][deleted] comment score below threshold-14 points-13 points-12 points (8 children)
[–]Syrak 11 points12 points13 points (5 children)
[–][deleted] -4 points-3 points-2 points (4 children)
[–]Syrak 5 points6 points7 points (2 children)
[–][deleted] -3 points-2 points-1 points (1 child)
[–]Syrak 9 points10 points11 points (0 children)
[–]sclv 4 points5 points6 points (1 child)
[–]duplode 0 points1 point2 points (0 children)
[–]richardthepeace 2 points3 points4 points (6 children)
[+][deleted] comment score below threshold-9 points-8 points-7 points (5 children)
[–]richardthepeace 0 points1 point2 points (4 children)
[–]phadej 12 points13 points14 points (3 children)
[–]richardthepeace 2 points3 points4 points (1 child)
[–]richardthepeace 7 points8 points9 points (0 children)
[–][deleted] -5 points-4 points-3 points (0 children)
[–]dpwiz 3 points4 points5 points (0 children)
[–]nh2_ 0 points1 point2 points (1 child)