You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the problem is haskell-gi not providing a library, only an executable. Not sure whether this is something either Stack or Cabal can warn about, closing.
This is normal, the error message is occurring while configuring hgitest, because it can't find the haskell-gi library - see this cabal issue. You probably want to add haskell-gi the build-tools list in your cabal file.
When
haskell-gi
andhaskell-gi-base
are both specified asextra-deps
instack.yaml
:The project fails to build with:
Note that
stack exec -- ghc-pkg list | grep haskell-gi
only listshaskell-gi-base-0.10
and nothaskell-gi
.Steps to reproduce:
stack new
.haskell-gi
tobuild-depends
in the.cabal
file.extra-deps
instack.yaml
:stack build
.Expected result: The project builds without errors.
Actual result: The project fails to build, see above.
Here's the full project demonstrating the issue: https://github.com/koterpillar/hgitest
The text was updated successfully, but these errors were encountered: