haskell / haskell-platform

Distribution of Haskell with batteries included
http://www.haskell.org/platform/
Other
381 stars 91 forks source link

HaskellPlatform 8.6.3 Installer Windows x64 Path setting error #322

Open gfries opened 5 years ago

gfries commented 5 years ago

System: Windows 7 Ultimate x64 Installer: HaskellPlatform-8.6.3-core-x86_64-setup.exe

I changed the installation directory to D:\HaskellPlatform\8.6.3 I changed the installation directory of Stack to D:\HaskellPlatform\8.6.3\HaskellStack (no need for a user specific folder)

The installer changed the env Path to: Path=C:\Program Files\Haskell\bin;D:\HaskellPlatform\8.6.3\lib\extralibs\bin;D:\HaskellPlatform\8.6.3\bin

The first part "C:\Program Files\Haskell\bin" is rubbish

gbaz commented 5 years ago

As per discussion in https://github.com/haskell/haskell-platform/issues/219#issuecomment-185927435 C:\Program Files\Haskell\bin is where cabal-install will place globally installed binaries. So the platform installer itself doesn't put anything there. But it puts things elsewhere which in turn are configured to put things there.