stack automatically generates .cabal files from hpack files, so some
stack projects omit .cabal and only provide a hpack file. When a git
dependency is a stack project and only has a hpack file stack2cabal
currently fails when looking for a cabal file. We now handle this case
by running hpack and using the generated cabal file.
stack automatically generates .cabal files from hpack files, so some stack projects omit .cabal and only provide a hpack file. When a git dependency is a stack project and only has a hpack file stack2cabal currently fails when looking for a cabal file. We now handle this case by running hpack and using the generated cabal file.
Fixes #2.