Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

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

Closed
lorenzotenti opened this issue May 27, 2019 · 3 comments
Closed

Comments

@lorenzotenti
Copy link

lorenzotenti commented May 27, 2019

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
Copy link
Contributor

randen commented May 27, 2019

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

@yaxu
Copy link

yaxu commented Jul 21, 2019

Also #320

@gbaz
Copy link
Contributor

gbaz commented Jul 30, 2019

closing as a dup of #320

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants