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 am developing a project which needs internalization and I want to use gettext to achieve this. I have a simple Setup.hs which uses Distribution.Simple.I18N.GetText module from hgettext package: import Distribution.Simple.I18N.GetText main = gettextDefaultMain
When I run stack build --reconfigure -v I get the following output: https://gist.github.com/gromakovsky/d0ea603555218ceeed9d
I use build-type: Custom in my .cabal file. I've listed hgettext as build-depends for every target in .cabal file, but still get this error. Relevant parts of my stack.yaml: resolver: lts-3.11 extra-deps: - hgettext-0.1.30
After some searching I've found a similar issue: commercialhaskell/stackage#746
A workaround there was just to inline GetText module.
I guess this will work in my case, but I don't think this is a good solution.
By the way, if I use cabal directly, then everything gets installed smoothly.
The text was updated successfully, but these errors were encountered:
No problem! This stuff is quite strange - the current situation for dependencies of Setup.hs is really ugly. All of the points in the design space we've considered are poor, so this is what we've got for now until Cabal-1.24 is released.
I am developing a project which needs internalization and I want to use gettext to achieve this. I have a simple Setup.hs which uses Distribution.Simple.I18N.GetText module from hgettext package:
import Distribution.Simple.I18N.GetText
main = gettextDefaultMain
When I run
stack build --reconfigure -v
I get the following output: https://gist.github.com/gromakovsky/d0ea603555218ceeed9dI use
build-type: Custom
in my .cabal file. I've listed hgettext as build-depends for every target in .cabal file, but still get this error. Relevant parts of my stack.yaml:resolver: lts-3.11
extra-deps:
- hgettext-0.1.30
After some searching I've found a similar issue: commercialhaskell/stackage#746
A workaround there was just to inline GetText module.
I guess this will work in my case, but I don't think this is a good solution.
By the way, if I use cabal directly, then everything gets installed smoothly.
The text was updated successfully, but these errors were encountered: