Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows builds fail due to Shelly being broken on Windows #7

Closed
phlummox opened this issue Dec 22, 2021 · 0 comments
Closed

Windows builds fail due to Shelly being broken on Windows #7

phlummox opened this issue Dec 22, 2021 · 0 comments
Assignees

Comments

@phlummox
Copy link
Owner

Versions of Shelly from 1.8.0 onwards are broken on Windows (and thus builds for Hup are broken, too): see this bug. This was only recently fixed in the Shelly github repo, and a fixed version hasn't made it onto Hackage, yet.

A workaround for this would be to use the Shelly Github repo itself as a dependency (possible for Stack, I don't know whether cabal permits this yet), but for CI purposes, I'm just going to refrain from using recent versions of Shelly til the fix makes it onto Hackage.

So this means Shelly 1.7.2 is the most recent, non-broken version on Hackage; but that version's dependencies (in particular, from what I can tell, time (>=1.3 && <1.9)) apparently stop it being built with versions of GHC more recent than 8.6.5. Again, there are probably fixes for people who really want to get it built (e.g. loosening the bounds), but for CI purposes, I'm just not going to build on versions of GHC more recent than 8.6.5, until Hackage has a working version of Shelly again.

So my current task for Hup is to get CI builds working on Linux, Mac and Windows using GitHub Actions. Some non-x86 architectures and static binaries would be nice, too. We'll see.

@phlummox phlummox self-assigned this Dec 22, 2021
phlummox added a commit that referenced this issue Jan 5, 2022
add docker-based smoke tests for linux, windows and mac.

Improvement on the fixes to #7, #8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant