<div dir="ltr">Forgot to say that I have git with git-bash installed, which seems to come with a msys bundle. Is this sufficient, or should I install msys too?</div><div class="gmail_extra"><br><div class="gmail_quote">On 10 October 2014 15:05, Michal Antkiewicz <span dir="ltr"><<a href="mailto:mantkiew@gsd.uwaterloo.ca" target="_blank">mantkiew@gsd.uwaterloo.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Ah, forgot to add that you have to fix the PATH. By default, the platform installer creates a user variable PATH, which windows 8 automatically appends at the end of the system PATH. This way doing `cabal install cabal-install` will update cabal in user space but the platform one will always be used. So you must "prepend" the path to `c:\users\....\AppData\Roaming\cabal\bin` at the beginning of the system PATH to give user space executables priority over platform and global executables.<br><br></div><div>In MSYS, get friendly with `hash -r` command when you fiddle with PATHs.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div>Michal</font></span><div><div class="h5"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 9, 2014 at 9:57 PM, Michal Antkiewicz <span dir="ltr"><<a href="mailto:mantkiew@gsd.uwaterloo.ca" target="_blank">mantkiew@gsd.uwaterloo.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>This is a question I am often asking myself as well. Here are a few points:<br><br></div>1. definitely install MSYS2<br></div>see links here <a href="http://www.haskell.org/haskellwiki/Windows" target="_blank">http://www.haskell.org/haskellwiki/Windows</a><br><br></div>2. I used Sublime Text 2 as well, switched to 3 now and it works great so far<br><br></div>3. Yes, installing the dev tools is a pain on Windows. It almost never just works. I install dev tools into the user space and always use sandboxes for projects. Currently I managed to install the following versions. You have to use these specific versions.<br><br>aeson-0.7.0.6<br>ghc-mod-4.1.6<br>haddock-2.14.3<br>haskell-docs-4.2.2<br>haskell-src-exts-1.15.0.1<br>hasktags-0.69.0<br>hlint-1.9.4<br><br></div><div>I could never get codex to work on Windows with Haskell Platform.<br></div><div><br></div>4. I also recommend ghc-vis package, which only today I managed to successfully install:<br><a href="http://felsin9.de/nnis/ghc-vis/installing-windows/" target="_blank">http://felsin9.de/nnis/ghc-vis/installing-windows/</a><br></div>-- do not use `--enable-shared` in the last command<br><br><div><div>ghc-heap-view-0.5.3<br>ghc-vis-0.7.2.5<br><br></div><div>5. with hdevtools, you have to get the windows fork and pull one of the branches which makes it work with GHC-7.8.3 (I forgot exactly which one I pulled from). The fork is not maintained. I am hoping that `ghc-modi` will eventually replace `hdevtools` for SublimeHaskell. <br><br></div><div>Hope that helps to get you going. On Linux everything just works when you get GHC and cabal-install. <br><br></div><div>Cheers,<br></div><div>Michal<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Oct 9, 2014 at 9:15 PM, Alistair Bayley <span dir="ltr"><<a href="mailto:alistair@abayley.org" target="_blank">alistair@abayley.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">What is the current advice for getting a haskell dev env set up on windows? There's a lot of options, and it can be hard to quickly determine which are current and which are deprecated/bit-rotted.<div><br></div><div>For example, apparently cabal sandbox is preferred over cabal-dev these days.</div><div><br></div><div>I've read:</div><div><a href="http://onoffswitch.net/started-haskell/" target="_blank">http://onoffswitch.net/started-haskell/</a><br></div><div><div><a href="http://stackoverflow.com/questions/304614/haskell-on-windows-setup" target="_blank">http://stackoverflow.com/questions/304614/haskell-on-windows-setup</a><br></div></div><div><a href="http://coldwa.st/e/blog/2013-08-20-Cabal-sandbox.html" target="_blank">http://coldwa.st/e/blog/2013-08-20-Cabal-sandbox.html</a><br></div><div><a href="http://bob.ippoli.to/archives/2013/01/11/getting-started-with-haskell/" target="_blank">http://bob.ippoli.to/archives/2013/01/11/getting-started-with-haskell/</a><br></div><div><br></div><div><br></div><div>I've installed the latest haskell platform (2014.2), and am using Sublime Text 2 as my editor. SublimeHaskell is installed, but apparently it needs aeson, haskell-src-ext, and haddock. cabal install aeson indicates that it will break unordered-containers-0.2.4.0 and case-insensitive-1.1.0.3, so I must use --force-reinstalls to get it. I'm doing this in a sandbox, in case it is a terrible idea.</div><div><br></div><div><a href="https://github.com/SublimeHaskell/SublimeHaskell" target="_blank">https://github.com/SublimeHaskell/SublimeHaskell</a><br></div><div><br></div><div>Not yet sure how I'm going to get the sandbox install of these tools to work with SublimeHaskell. Presumably some PATH magic?</div><div><br></div><div>hdevtools looks cool and seems like it can be used from SublimeHaskell, although a windows install is from a fork. Will install ghc-mod too.</div><div><br></div><div>What else am I missing?</div><div><br></div><div>Thanks,</div><div>Alistair</div><div><br></div></div>
<br></div></div>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br><br></div></div></blockquote></div></div></div></div></div>
</blockquote></div><br></div>