gregwebs/Shelly.hs

doesn't work on Windows any more

Closed this issue · 13 comments

Since commit 94acbcc, shelly depends on 'unix' so doesn't build on Windows any more. Is this intentional? @rocketnik

Sorry, my fault. No it is not. Will fix it in the next days.

No problem, thanks. It's unusable anyway thanks to #177, but one step at a time :-)

Could you please check if
#178
works for your windows machine too?

Please downgrade the version in LTS Haskell. LTS Haskell shouldn't contain packages that can't be compiled.

Shelly downgraded in LTS 13.4 to 1.8.0

Hijacking this issue, please let me know if you prefer a new issue.

  • 1.8.0 did not depend on unix, and I was using it on Windows.
  • 1.8.1 now depends on unix, and hence doesn't build on Windows.

Was this on purpose? Can it be avoided?

It would be great to have a Windows use submit a fix for this

I did look into it a bit when I first ran into this, and I can't remember exactly what I found, but I don't think it was easy. Just rolling back the change that introduced the unix dependency is my only real suggestion.

Can you send a tested pull request?

Are you happy with the principle of rolling back the change? If so I'll do it when I have a chance, might not be immediately.

Could this issue be solved by using unix-compat instead of unix?

I think this is fixed. Please reopen with new information if you disagree.