meiryo
meiryo

Reputation: 11697

New to haskell, cabal is not found

I try to run cabal from cmd on Windows however it isn't recognized. I have modified my PATH variable to include the bin directory of my haskell install however that does not work. Any ideas?

Upvotes: 2

Views: 3430

Answers (1)

yatima2975
yatima2975

Reputation: 6610

In my Haskell Platform installation (I'm using 2012.4 on Windows), the cabal.exe executable is confusingly not under <HASKELL_PLATFORM_DIR>\bin (where ghci.exe and friends live) but under <HASKELL_PLATFORM_DIR>\libs\extralibs\bin.

You could try adding the latter directory to your path as well; that worked for me, at least.

Upvotes: 6

Related Questions