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 Support #62

Draft
wants to merge 25 commits into
base: master
Choose a base branch
from
Draft

Conversation

AlistairB
Copy link
Contributor

@AlistairB AlistairB commented Jan 12, 2022

#3

To Do

  • Remove ghc profiling files
  • Remove ghc docs
  • Remove stack docs
  • stack setup is failing with missing ca certs, possibly due to msys2 issue?
  • Is gpg usable? Doubtful as no other official images appear to do it.
  • Add all windows variants
  • Add all ghc versions
  • Consider general reorder of installation for better layer caching between ghc versions.
  • Decide when to release.
  • Should there be ENV or ARG for any of the versions?
  • Look at chocolatey for ghc / cabal / stack install in case there is something interesting.
  • Read through ghcup more to see if there might be something we are missing.

Status

I believe the built image actually works. Now it is a matter of testing it and figuring out how CI works. The hard part of this is trying to rig up stack to use the inbuilt msys2 as per the below.

Blockers

Can't use existing msys2 with stack

EDIT: Ok this is not really a blocker, as ghcup notes users should be able to use the inbuilt msys2 via skip-msys, extra-path, extra-include-dirs, extra-lib-dirs stack flags. I believe this is necessary because when the GUI installer is not used the bundled stack msys2 is not installed.

There doesn't seem to be a way to nicely either use an existing msys2 install with stack, or install the bundled msys2 that the stack GUI installer installs.

Relevant issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant