hpack-convert icon indicating copy to clipboard operation
hpack-convert copied to clipboard

hpack-convert: Convert Cabal manifests into hpack's package.yamls

Results 16 hpack-convert issues
Sort by recently updated
recently updated
newest added

``` $ stack --version Version 1.9.3, Git revision 40cf7b37526b86d1676da82167ea8758a854953b (6211 commits) x86_64 hpack-0.31.1 $ stack build /opt/devel/haskell/hpack-convert/package.yaml: Error while parsing $.library.dependencies - expected Array, Object, or String, encountered Null ```...

``` $ hpack-convert ConvertCabalParseError (NoParse "build-depends" 64) ``` This is from the binary install. Here's the file I'm trying to convert: ``` cabal-version: 2.4 -- Initial package description 'FarmDataServer.cabal' generated...

I tried converting package language-c that I had cloned to work with stack using hpack-convert after "stack init". It almost got things right, except for not including the required extensions...

First some warnings (GHC's memory usage really blows up here): ``` [ 7 of 12] Compiling Hpack.Config ( src/Hpack/Config.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.0.2/build/Hpack/Config.o ) /tmp/stack31554/hpack-convert-1.0.1/src/Hpack/Config.hs:122:19: warning: [-Wsimplifiable-class-constraints] • The constraint ‘HasTypeName a’ matches...

We could switch back to trying to use hpack as a library. Back when this was written there were required types/functions which weren't exposed. We have to check if it's...