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.In MSYS, get friendly with `hash -r` command when you fiddle with PATHs.MichalOn Thu, Oct 9, 2014 at 9:57 PM, Michal Antkiewicz <mantkiew@gsd.uwaterloo.ca> wrote:-- do not use `--enable-shared` in the last command3. 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.2. I used Sublime Text 2 as well, switched to 3 now and it works great so farsee links here http://www.haskell.org/haskellwiki/WindowsThis is a question I am often asking myself as well. Here are a few points:1. definitely install MSYS2
aeson-0.7.0.6
ghc-mod-4.1.6
haddock-2.14.3
haskell-docs-4.2.2
haskell-src-exts-1.15.0.1
hasktags-0.69.0
hlint-1.9.4I could never get codex to work on Windows with Haskell Platform.4. I also recommend ghc-vis package, which only today I managed to successfully install:
http://felsin9.de/nnis/ghc-vis/installing-windows/ghc-heap-view-0.5.3
ghc-vis-0.7.2.55. 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.Hope that helps to get you going. On Linux everything just works when you get GHC and cabal-install.Cheers,MichalOn Thu, Oct 9, 2014 at 9:15 PM, Alistair Bayley <alistair@abayley.org> wrote:_______________________________________________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.For example, apparently cabal sandbox is preferred over cabal-dev these days.I've read: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.Not yet sure how I'm going to get the sandbox install of these tools to work with SublimeHaskell. Presumably some PATH magic?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.What else am I missing?Thanks,Alistair
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe