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

docs: explain the possibility of using system GHC, to reduce space requirements #1037

Open
petertseng opened this issue Jan 8, 2022 · 0 comments

Comments

@petertseng
Copy link
Member

A working setup was in #1043:

  1. Add to ~/.stack/config.yaml:
# Stop downloading GHCs into isolated locations under ~/.stack.
install-ghc: false

# Allow Stack to pick the system GHC (false by default).
system-ghc: true

# Add the -dynamic flag to every invocation of GHC.
ghc-options:
  "$everything": -dynamic
  1. Check system GHC version and find a suitable resolver in https://www.stackage.org/
  2. Modify stack.yaml to that resolver.

Add these instructions to https://github.com/exercism/haskell/blob/main/docs/INSTALLATION.md and https://github.com/exercism/haskell/blob/main/docs/TESTS.md as appropriate.

Will need to think about how to present them - is that something we're recommending to everyone, or is it just to those who want it? Will there be issues with students not being sure how to correctly follow the instructions, or whether they should even follow them at all? etc.

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

No branches or pull requests

1 participant