-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Haskell stack needs 2.5gb of space #1043
Comments
Hi and welcome to Exercism! 👋 Thanks for opening an issue 🙂
|
cc @exercism/haskell |
Okay, with some random things I was able to test the hello world example, with 80MB of the stack binary, and 40MB of .stack folder. I don't know exactly what caused it ( I random copied things from https://wiki.archlinux.org/title/Haskell#Configuring_Stack_for_dynamic_linking ) but maybe this will do:
into ~/.stack/config.yaml check your GHC version, and find a suitable resolver version here https://www.stackage.org/ Modify the stack.yaml file in the exercise folder, to match your version, in my case, I changed |
I usually run So that means here are my two suggestions, either or both of which can be tackled. First, I'd like to find a good place to put the Second, if the directions presented to have Stack use system GHC are minimal and complete, they can be added. 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. |
On my Ubuntu system, |
By minimal, I do not mean that it uses as little space as possible, but that there are no extraneous steps that can be removed. By complete, I mean that no steps are missing. Following the steps is all that is needed to use system GHC. From my understanding of the steps, they meet these requirements, so no further modification to those steps is needed. |
@petertseng I've moved this to the haskell repo. Feel free to close this if you feel this is handled by the above mentioned issues. |
Yes, I confirm that the above two issues are the actions that should be taken in response to this issue. |
Also it needs 5 gb of free space for installation.
I can't test my solutions without it. That's a bit extreme space requirement, just for checking if two values are equal.
Wouldn't it be possible and desirable to test only with ghc/ghci, without the need of the whole stack?
The text was updated successfully, but these errors were encountered: