informatikr / hedis

A Redis client library for Haskell.
http://hackage.haskell.org/package/hedis
BSD 3-Clause "New" or "Revised" License
329 stars 127 forks source link

Cannot install Hedis on Windows #95

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hello,

When I try to install hedis on Windows 10 I see the build failing with this message :

Not in scope: data constructor UnixSocket' Perhaps you meant variableNS.bindSocket' (imported from Network.Socket)

Roelof

k-bx commented 7 years ago

Oops, might be related to the recent changes from @erickg and @alcidesv. @erickg would you be able to look at this please? (if not, I'd understand)

ghost commented 7 years ago

Windows? people use that really? :-P

I think this was probably a problem with the fix from @alcidesv .. since the later fix (which was merged yesterday) doesn't use the UnixSocket constructor anymore, I will guess that the latest version after the merge doesn't have this problem? @rwobben can you please double check using the latest available version?

Cheers

ghost commented 7 years ago

I use stack and I use version 0.9.10 so not the newest version. So i have to check if the newest version of stack has which version of hedis

ghost commented 7 years ago

Just add:

extra-deps: [hedis-0.9.11]

to your stack.yaml and you should be good to go.

Cheers

ghost commented 7 years ago

Thanks, now everything is working fine