Closed c6c7 closed 6 years ago
Thanks for the pull request! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
I'm not sure your note as added makes much sense. If a user has installed (only) a Haskell Platform version that is greater than 7.10.x
, then runghc-7.10.x
will not be available to them, right?
Of course. I overlooked that.
What I really wanted was something along the lines of, "If you're using Haskell Platform, don't assume that you're stuck with the latest version for compiling elm. You can install an older version that will provide you the older compiler you need and also allow you to keep the latest version in place."
EDIT: I just amended the commit and did a forced push to the branch. Not sure if that appears explicitly anywhere on this page, beside the commit hash changing.
I want to have a comprehensive way to do this so there's not a series of comments talking about all the possible bugs over time. So I don't think this is the right path in the long run.
The latest version of the Haskell Platform installs
ghc
8.0.2. As a result, usingrunhaskell
will cause numerous dependency problems when building elm from source. An easy fix to this problem is to install an older version of the Haskell Platform and use the providedrunghc-7.10.x
in place ofrunhaskell
.