Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
last 8.2.1 website changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaz committed Aug 24, 2017
1 parent 2fcc962 commit c18ecb8
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 26 deletions.
12 changes: 12 additions & 0 deletions hptool/src/ReleaseFiles.hs
Expand Up @@ -67,9 +67,21 @@ currentFiles :: ReleaseFiles
priorFiles :: [ReleaseFiles]
currentFiles : priorFiles = releaseFiles


releaseFiles :: [ReleaseFiles]
releaseFiles =
[
("8.2.1", aug 2017,
[ lin False x86_64 "download/8.2.1/haskell-platform-8.2.1-unknown-posix--core-x86_64.tar.gz" $ sha256 "aff518ef78dd6a4433721f884a5fda5519ac7d826bdaa8199caad3cf7f51984a"
, lin True x86_64 "download/8.2.1/haskell-platform-8.2.1-unknown-posix--full-x86_64.tar.gz" $ sha256 "2273a8da323d923a5025a9942a7c39643838ed68ca3c87c67f029235d73791b8"
, lin False i386 "download/8.2.1/haskell-platform-8.2.1-unknown-posix--core-i386.tar.gz" $ sha256 "f0c3e6527288a6b8a00bd0d22d50ace7b4e75352920b9a1cac457784f3e3f0cf"
, lin True i386 "download/8.2.1/haskell-platform-8.2.1-unknown-posix--full-i386.tar.gz" $ sha256 "a600db7913d40a63ce1168ea16641f42dccb590f1cb369c1d476d627348a5ce8"
, mac False x86_64 "download/8.2.1/Haskell%20Platform%208.2.1%20Core%2064bit-signed.pkg" $ sha256 "97f7dc5338fc52269914f19331a2ee706441c2e8c637e8c119098375ad95abee"
, mac True x86_64 "download/8.2.1/Haskell%20Platform%208.2.1%20Full%2064bit-signed.pkg" $ sha256 "b0182bb721b5dff3d66794cbdcea93cec562dc254fcf23c0e7a1a7a8d680aaa7"
, win False x86_64 "download/8.2.1/HaskellPlatform-8.2.1-core-x86_64-setup.exe" $ sha256 "81aa5b8476b84c732e4d9e5167a5f1a33ff5ae30d14e5aa4f1902001e4fdb8f8"
, win True x86_64 "download/8.2.1/HaskellPlatform-8.2.1-full-x86_64-setup.exe" $ sha256 "c3dcd0f2cbd68389c137c8c903900e8a7728d79605511b0fd53c4aeb92631842"
, src True "download/8.2.1/haskell-platform-8.2.1.tar.gz" $ sha256 "b7aa226dd21dc709525fee26e9655dc552c42e632387ec158dc9f9bcb41d9469"
]),
("8.0.2-a", may 2017,
[ lin False x86_64 "download/8.0.2/haskell-platform-8.0.2-unknown-posix--minimal-x86_64.tar.gz" $ sha256 "f08cf747abd6675c7cce7e4d61c29788876aba27df474e8b1fe76f37a1f3868b"
, lin True x86_64 "download/8.0.2/haskell-platform-8.0.2-unknown-posix--full-x86_64.tar.gz" $ sha256 "c68a6f278a192d5000e8feefb0e63cef1bd441d02b846029840b98a5fa3ee31a"
Expand Down
61 changes: 35 additions & 26 deletions website/templates/new-site/download-os-sections.html.mu
Expand Up @@ -166,7 +166,9 @@
where network connectivity should not be taken for
granted.</p>


<p>The 8.2.1 platform release is for 64 bit Windows only, due to
issues with GHC 8.2.1 on 32 bit Windows. Future releases are anticipated to resume
32 bit support.</p>

{{#current}} {{#files}} {{#isWindows}}
{{^isFull}}
Expand All @@ -188,44 +190,51 @@
{{/isFull}}
{{/isWindows}} {{/files}} {{/current}}

<div>
You can verify the integrity of this file by
checking its <strong>SHA-256</strong> hash,
<ul class="hashes">
{{#current}} {{#files}} {{#isWindows}}
{{^isFull}}
<li>{{archBits}} bit Core:<br><textarea rows="2" cols="40" class="file-hash" readonly onclick="this.select()">{{mHash}}</textarea></li>
{{/isFull}}
{{#isFull}}
<li>{{archBits}} bit Full: <br><textarea rows="2" cols="40" class="file-hash" readonly onclick="this.select()">{{mHash}}</textarea></li>
{{/isFull}}
{{/isWindows}} {{/files}} {{/current}}
</ul>
</div>
</li>
<li>
<div class="step-number">2</div>
<div class="step-body">Run the installer and follow the instructions.</div>
<p>Run the installer and
follow the instructions.</p>
</li>
<li>
<div class="step-number">3</div>
<div class="step-number">2</div>
<div class="step-body">
Modify your cabal config
file (you can verify the
location by running "cabal
user-config init") to
contain the following lines:
<pre>
extra-prog-path: C:\Program Files\Haskell Platform\8.0.2\msys\usr\bin
extra-lib-dirs: C:\Program Files\Haskell Platform\8.0.2\mingw\lib
extra-include-dirs: C:\Program Files\Haskell Platform\8.0.2\mingw\include
extra-prog-path: C:\Program Files\Haskell Platform\{{hpVersion}}\msys\usr\bin
extra-lib-dirs: C:\Program Files\Haskell Platform\{{hpVersion}}\mingw\lib
extra-include-dirs: C:\Program Files\Haskell Platform\{{hpVersion}}\mingw\include
</pre>
</div>
</li>
Note: cabal config files can contain more than one of each of those lines
&mdash; no need to replace any existing entries. Additionally, you may
want to
should double-check that the version component of the path corresponds to
your installed platform.
</div></li>
<li>
<div class="step-number">4</div>
<div class="step-number">3</div>
<div class="step-body">Start WinGHCi from the Start menu and have fun!</div>
</li>

<li> <div class="step-body">
Note:
You can verify the
integrity of downloaded files by
checking their <strong>SHA-256</strong> hash,
<ul class="hashes">
{{#current}} {{#files}} {{#isWindows}}
{{^isFull}}
<li>{{archBits}} bit Core:<br><textarea rows="2" cols="40" class="file-hash" readonly onclick="this.select()">{{mHash}}</textarea></li>
{{/isFull}}
{{#isFull}}
<li>{{archBits}} bit Full: <br><textarea rows="2" cols="40" class="file-hash" readonly onclick="this.select()">{{mHash}}</textarea></li>
{{/isFull}}
{{/isWindows}} {{/files}} {{/current}}
</ul>
</div>

</li>
</ol>
</div>
<div class="bottom-rule"></div>
Expand Down

0 comments on commit c18ecb8

Please sign in to comment.