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
There's a related problem here. Distribution.Simple.I18N.GetText is common to work with locales and translations. It overrides cabal hooks in order to install .po files to /usr/share/locale/....
This feature still works well with stack 0.1.6.0, but not anymore in version 0.1.8.0. In 0.1.6.0 .po translations are copied to .stack-work/.../share/... on stack build, but with new version it doesn't happen.
The text was updated successfully, but these errors were encountered:
Yes, stack build now invokes Setup.hs copy and register instead of running Setup.hs install. This means postCopy gets invoked instead of postInstall. Here's the issue that caused this change: #1203 . IIRC, it's also what cabal install does?
Here's how to implement postInstall in terms of postCopy: ghcjs/ghcjs@d5c67ef
There's a related problem here.
Distribution.Simple.I18N.GetText is common to work with locales and translations. It overrides cabal hooks in order to install
.po
files to/usr/share/locale/...
.This feature still works well with stack 0.1.6.0, but not anymore in version 0.1.8.0. In 0.1.6.0 .po translations are copied to
.stack-work/.../share/...
onstack build
, but with new version it doesn't happen.The text was updated successfully, but these errors were encountered: