haskell / haskell-platform

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

Multi-line entries in cabal config should have ";" separator on Windows #324

Closed lorenzotenti closed 5 years ago

lorenzotenti commented 5 years ago

I'm using the Windows Core (64 bit) 8.6.5 installer.

After a fresh installation I was not able to correctly use cabal on Windows PowerShell. The problem was a "," separator in the cabal config file instead of a ";". The multi-line entry was there by default, I did not add it.

In particular, here is the incriminated line:

extra-prog-path: C:\Program Files\Haskell Platform\8.6.5\msys\usr\bin,
                 C:\Users\myUserName\AppData\Roaming\cabal\bin

When I changed to

extra-prog-path: C:\Program Files\Haskell Platform\8.6.5\msys\usr\bin;
                 C:\Users\myUserName\AppData\Roaming\cabal\bin

everything worked well.

randen commented 5 years ago

I believe this is haskell/cabal#5420. Related: haskell/cabal#5958.

yaxu commented 5 years ago

Also #320

gbaz commented 5 years ago

closing as a dup of #320