How to configure cabal in Windows 7?

前端 未结 3 616
北恋
北恋 2021-02-08 21:57

I have installed Haskell Platform 2012 in Windows 7. I write in the console cabal update and I take a message that there is a new version of cabal. I write ca

3条回答
  •  面向向阳花
    2021-02-08 22:19

    The problem is that the cabal executable that came with Haskell Platform gets picked up instead of the one that you installed.

    You need to edit the value of the PATH environment variable and place %AppData%\cabal\bin before %PROGRAMFILES%\Haskell Platform\...\bin so that it's given higher priority.

提交回复
热议问题