|
176 | 176 | <p>Run the installer and
|
177 | 177 | follow the instructions.</p>
|
178 | 178 | </li>
|
179 |
| - <li> |
| 179 | + <li> |
180 | 180 | <div class="step-number">2</div>
|
| 181 | + <div class="step-body"> |
| 182 | + Ensure your cabal config |
| 183 | + file (you can verify the |
| 184 | + location by running "cabal |
| 185 | + user-config init") |
| 186 | + contains the following lines: |
| 187 | +<pre> |
| 188 | +extra-prog-path: C:\Program Files\Haskell Platform\{{hpVersion}}\msys\usr\bin |
| 189 | +extra-lib-dirs: C:\Program Files\Haskell Platform\{{hpVersion}}\mingw\lib |
| 190 | +extra-include-dirs: C:\Program Files\Haskell Platform\{{hpVersion}}\mingw\include |
| 191 | +</pre> |
| 192 | +Note: cabal config files can contain more than one of each of those lines |
| 193 | +— no need to replace any existing entries. Additionally, you |
| 194 | +should double-check that the version component of the path corresponds to |
| 195 | +your installed platform. |
| 196 | + </div></li> |
| 197 | + <li> |
| 198 | + <div class="step-number">3</div> |
181 | 199 | <div class="step-body">Start WinGHCi from the Start menu and have fun!</div>
|
182 | 200 | </li>
|
183 | 201 |
|
|
256 | 274 | right. As GHC links against libgmp,
|
257 | 275 | you may need to install "libgmp-dev" using your package manager of choice.
|
258 | 276 | </p>
|
259 |
| - <p> |
| 277 | + <p> |
| 278 | + There is no current generic platform |
| 279 | + installer. We recommend |
| 280 | + using <a href="https://github.com/haskell/ghcup/">ghcup</a> |
| 281 | + to install ghc and cabal-install, |
| 282 | + and following the instructions at |
| 283 | + <a href="https://www.haskellstack.org">haskellstack.org</a> |
| 284 | + to install stack. |
| 285 | + </p> |
| 286 | +<!-- <p> |
260 | 287 | The latest version of the Haskell Platform for Linux is
|
261 | 288 | <strong>{{hpVersion}}</strong>.</p>
|
262 | 289 | <p> To get started perform these steps:</p>
|
@@ -329,7 +356,8 @@ $ sudo ./install-haskell-platform.sh</pre>
|
329 | 356 | </div>
|
330 | 357 | </li>
|
331 | 358 | </ol>
|
332 |
| - </div> <!-- #linux-generic --> |
| 359 | +--> |
| 360 | + </div><!-- #linux-generic --> |
333 | 361 |
|
334 | 362 | <div id="linux-ubuntu" class="flavor">
|
335 | 363 | <h3>Ubuntu</h3>
|
|
0 commit comments