Open sebeaumont opened 6 years ago
It would appear that the type signature for globDir
changed in Glob-0.9.0
.
Old: https://hackage.haskell.org/package/Glob-0.8.0/docs/System-FilePath-Glob.html#v:globDir
globDir :: [Pattern] -> FilePath -> IO ([[FilePath]], [FilePath])
New: https://hackage.haskell.org/package/Glob-0.9.0/docs/System-FilePath-Glob.html#v:globDir
globDir :: [Pattern] -> FilePath -> IO [[FilePath]]
This appears to be a simple job for -XCPP
, assuming that nothing else is broken.
Here's a supposed fix: https://github.com/yamadapc/hpack-convert/pull/16
Any updates on this?
I observed the same error - with ghc 8.4.4 please fix!
I'm getting the same error on Windows 10
Any update for this? Doesn't work on newest resolver either, as far as my tries go :(
Interested as well for #16 integration.
Looks like we've still got this issue on LTS-15.5.
At the moment the hpack-convert won't build with the latest GHC (such as 9.8.1, ghc-9.4.8), and the official repository doesn't provide a windows binary release. This prevents you from using hpack-convert on windows.
You might built it via older snapshot by stack, but this require downgrading the stack version, which is annoying.
For ease of use, a windows binary is provided here.
It built on windows (lts-15.5) successfully and it works well, using @kindaro 's fork: https://github.com/kindaro/hpack-convert/commit/fa98909f18992713fba82d2033e04fdedb58592a
Related links: https://github.com/yamadapc/hpack-convert/issues/18 https://github.com/yamadapc/hpack-convert/pull/16
Please close this if everyone's happy -- (I can't recall what I was doing in 2018) and I don't use stack anymore these days anyhow.