Closed noughtmare closed 7 years ago
What's your version of eta ?
The Eta programming language compiler, version 0.0.5 epm version 0.0.1 using version 1.22.8.0 of the Cabal library
Which OS ?
Also can you do epm update
and try again.
Archlinux 64 bit
Also, it's easier for us to debug if you do epm install time-1.6.0.1 -v
so we can trace the code path in epm
.
@rahulmutt I've updated the description.
@psibi epm update
says already up to date.
Is this specific with 1.6.0.1
or is the latest time installing properly ?
1.7.0.1 does install
@noughtmare It looks like your hsc2hs
installation is broken, it's unable find some template. But that's besides the point - hsc2hs
should never be called with epm
in the first place. The patch is to remove Data.Time.Clock.CTimespec
from other-modules:
so it doesn't try to compile an .hsc file.
I ran stack install hsc2hs
and now epm install time-1.6.0.1
works correctly, thank you!
hsc2hs should never be called with epm in the first place. The patch is to remove Data.Time.Clock.CTimespec from other-modules: so it doesn't try to compile an .hsc file.
Does this mean I should leave this issue open?
Yes, please!
@rahulmutt Why do you feel this issue should be left open ? Is there anything we should do on epm
side to fix this ?
We should fix the time patches so they don't include any .hsc modules in the cabal file, that way it won't trigger hsc2hs. epm
can be left alone.
Done. It turns out that time-1.7.0.1
has no .hsc
files while time-1.6.0.1
did, which is why the former worked and the latter didn't. Thanks for the report @noughtmare!
Here's the error I get when running
epm install time-1.6.0.1 -v
: