haskell / haskell-platform

Distribution of Haskell with batteries included
http://www.haskell.org/platform/
Other
381 stars 91 forks source link

Removed the homebrew section from the installation page. #340

Closed TikhonJelvis closed 4 years ago

TikhonJelvis commented 4 years ago

When you visit the download page on macOS with noscript enabled, an extra section of the instructions pops up with a brew command that doesn't work:

Screen Shot 2020-04-24 at 9 28 34 PM

When you run the command, you get the following output:

Error: Cask 'haskell-platform' is unavailable: No Cask with this name exists.

I ran into this problem when I was helping somebody install Haskell and they got confused. This problem didn't happen on my machine because I had JS enabled. Having this section seems unnecessary and could lead to confusion, so this PR removes the section from the download page HTML template. I'm not sure if I need to change any other files along with this change.

For reference, this is what the page looks like with JS enabled, even without this PR. The section with the brew command is present in the HTML but invisible.

Screen Shot 2020-04-24 at 9 27 36 PM
gbaz commented 4 years ago

👍