haskellcabal-dev

cabal-dev: command not found


Whenever I'm running any command that includes cabal-dev, I'm getting the following error:
cabal-dev: command not found
I've downloaded cabal-dev package from
http://hackage.haskell.org/package/cabal-dev
But there are no instructions on how to install it.


Solution

  • It has something to do with MacOS. This command solved the problem.

    cabal install gtk -fhave-quartz-gtk
    

    Source : https://stackoverflow.com/a/32053264/5524175