[Haskell-cafe] On Windows after I install the new cabal-install then when I do a cabal update it says there is a new ...
svenpanne at gmail.com
Mon Jul 13 17:01:08 UTC 2015
2015-07-13 18:41 GMT+02:00 Michael Steele <mikesteele81 at gmail.com>:
> On Windows the 'system' path variable always has precedence over the
> 'user' path variable (see ). You will need to rename, delete, or
> overwrite the version of cabal.exe installed globally for the one under
> %appdata% to be used.
> : https://support.microsoft.com/en-us/kb/100843
To me that looks like a bug in the Haskell Platform installer: It puts the
path to the tools shipped with the platform into the the system PATH and
the path to the user-installed tools (i.e. the stuff below %APPDATA%) into
the user part of the PATH. This way, you will always get the shipped
alex/cabal/happy/HsColour, not the new stuff. This is a bit like putting
e.g. /usr/bin before your $HOME/bin on *nices, which is exactly the wrong
Furthermore, I've just seen that there is a 'C:\Program Files\Haskell\bin'
at the start of my system PATH, pointing to nowhere. Is this a remnant of
former GHC/platform installations? No clue where this comes from...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe