Martin Hilscher
2015-09-12 12:24:56 UTC
Hi *,
I just setup a new Mac and installed ghc (7.10.2) (from brew) and after
that cabal installed hakyll. The problem now is that when trying to compile
my blogs source I get errors that timeLocale is expected to be from
time-1.5 but is from old-locale (see below)
site.hs:356:31:
Couldn't match expected type
âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
with actual type âSystem.Locale.TimeLocaleâ
NB: âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
is defined in âData.Time.Format.Localeâ in package âtime-1.5.0.1â
âSystem.Locale.TimeLocaleâ
is defined in âSystem.Localeâ in package âold-locale-1.0.0.7â
In the first argument of âgetItemUTCâ, namely âtimeLocaleâ
In the expression: getItemUTC timeLocale
site.hs:357:29:
Couldn't match expected type
âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
with actual type âSystem.Locale.TimeLocaleâ
NB: âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
is defined in âData.Time.Format.Localeâ in package âtime-1.5.0.1â
âSystem.Locale.TimeLocaleâ
is defined in âSystem.Localeâ in package âold-locale-1.0.0.7â
In the first argument of âformatTimeâ, namely âtimeLocaleâ
In the expression: formatTime timeLocale "%Y" utcTime
site.hs:357:65:
Couldn't match expected type
âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
with actual type âSystem.Locale.TimeLocaleâ
NB: âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
is defined in âData.Time.Format.Localeâ in package âtime-1.5.0.1â
âSystem.Locale.TimeLocaleâ
is defined in âSystem.Localeâ in package âold-locale-1.0.0.7â
In the first argument of âformatTimeâ, namely âtimeLocaleâ
In the expression: formatTime timeLocale "%m" utcTime
Does anybody have a solution for that?
Thanks in advance and best regards,
Martin
P.S.: Should you need to look at the code, you can find it here:
https://github.com/xinitrc/xinitrc.de
I just setup a new Mac and installed ghc (7.10.2) (from brew) and after
that cabal installed hakyll. The problem now is that when trying to compile
my blogs source I get errors that timeLocale is expected to be from
time-1.5 but is from old-locale (see below)
site.hs:356:31:
Couldn't match expected type
âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
with actual type âSystem.Locale.TimeLocaleâ
NB: âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
is defined in âData.Time.Format.Localeâ in package âtime-1.5.0.1â
âSystem.Locale.TimeLocaleâ
is defined in âSystem.Localeâ in package âold-locale-1.0.0.7â
In the first argument of âgetItemUTCâ, namely âtimeLocaleâ
In the expression: getItemUTC timeLocale
site.hs:357:29:
Couldn't match expected type
âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
with actual type âSystem.Locale.TimeLocaleâ
NB: âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
is defined in âData.Time.Format.Localeâ in package âtime-1.5.0.1â
âSystem.Locale.TimeLocaleâ
is defined in âSystem.Localeâ in package âold-locale-1.0.0.7â
In the first argument of âformatTimeâ, namely âtimeLocaleâ
In the expression: formatTime timeLocale "%Y" utcTime
site.hs:357:65:
Couldn't match expected type
âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
with actual type âSystem.Locale.TimeLocaleâ
NB: âtime-1.5.0.1:Data.Time.Format.Locale.TimeLocaleâ
is defined in âData.Time.Format.Localeâ in package âtime-1.5.0.1â
âSystem.Locale.TimeLocaleâ
is defined in âSystem.Localeâ in package âold-locale-1.0.0.7â
In the first argument of âformatTimeâ, namely âtimeLocaleâ
In the expression: formatTime timeLocale "%m" utcTime
Does anybody have a solution for that?
Thanks in advance and best regards,
Martin
P.S.: Should you need to look at the code, you can find it here:
https://github.com/xinitrc/xinitrc.de
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.