[Haskell-cafe] Current state-of-the-art in getting a dev env set up (windows 8)
alistair at abayley.org
Fri Oct 10 02:18:45 UTC 2014
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?
On 10 October 2014 15:05, Michal Antkiewicz <mantkiew at gsd.uwaterloo.ca>
> 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
> In MSYS, get friendly with `hash -r` command when you fiddle with PATHs.
> On Thu, Oct 9, 2014 at 9:57 PM, Michal Antkiewicz <
> mantkiew at gsd.uwaterloo.ca> wrote:
>> This is a question I am often asking myself as well. Here are a few
>> 1. definitely install MSYS2
>> see links here http://www.haskell.org/haskellwiki/Windows
>> 2. I used Sublime Text 2 as well, switched to 3 now and it works great so
>> 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.
>> I 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:
>> -- do not use `--enable-shared` in the last command
>> 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.
>> Hope that helps to get you going. On Linux everything just works when you
>> get GHC and cabal-install.
>> On Thu, Oct 9, 2014 at 9:15 PM, Alistair Bayley <alistair at abayley.org>
>>> 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
>>> 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-188.8.131.52, 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?
>>> Haskell-Cafe mailing list
>>> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe