(Hasura Server) Windows compile / Windows Docker container
See original GitHub issueThis is a feature / enhancement request. But if it’s currently not possible, but is with relatively easy changes, I would be interested in trying to solve myself.
Summary
Unless I’ve missed something there are no Windows builds or Windows-based containers but I don’t see any reason that it isn’t possible. I’ve tried building myself, and the only apparent error I found was that hs-jose
depended on the unix package. However, upon further inspection it seems it only needed that for the unused examples. So I forked hs-jose
, removed the examples section from hs-jose
’s cabal config, then included my repo into hasura/graphql-engine/server/stack.yaml
. Re-ran stack build --fast
and while I now get past the planning stage, I still encounter errors when building.
Has there been any thoughts on Windows builds ? Do you see any glaring issues in my procedure? Any advice is appreciated!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:12 (4 by maintainers)
With some effort in understanding the project and its tool chain, it is possible to produce a native windows build.
@erichiller Jose shouldn’t be a problem anymore - there’s been a recent update to the dependent regarding that issue.
Only issue I’ve run into so far is with the hasura hs postgres driver, minimal change could fix. Only incompatibility of threadWaitRead that I’ve seen between *nix / windows. Will post updates if any further issues encountered with more extensive use.
@tjad could you share your fixes in a forked repo?