title: Installing Haskell on Windows, cabal config
body: <p>I'm installing Haskell on Windows based on the instructions at <a href="https://www.haskell.org/platform/" rel="nofollow noreferrer">https://www.haskell.org/platform/</a> and looking at step 3, it says, Modify your cabal config file (you can verify the location by running "cabal user-config init") to contain the following lines:</p>
  
  <pre><code>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
  </code></pre>
  
  <p>But the auto generated config file contains e.g.</p>
  
  <pre><code>extra-prog-path: C:\Users\w\AppData\Roaming\cabal\bin
  </code></pre>
  
  <p>So that's a different value for one of the suggested variables.</p>
  
  <p>Is this intentional?</p>
  
  <p>What should I do, paste the lines from step 3 at the start of the file, the end of the file, overwrite the existing lines or skip step 3 altogether?</p>