How to change cabal configuration file on windows

I install Haskell on my desktop, which is a Windows system. I follow the instructions. It says: change your cabal configuration file (you can check the location by running "cabal user-config init") to contain the following lines:

extra-prog-path: C:\Program Files\Haskell Platform\8.0.2\msys\usr\bin
extra-lib-dirs: C:\Program Files\Haskell Platform\8.0.2\mingw\lib
extra-include-dirs: C:\Program Files\Haskell Platform\8.0.2\mingw\include

I tried calling "cabal user-config init" on the command line, but it does not work. Does anyone know where I should call "cabal user-config init"?

+4
source share

Source: https://habr.com/ru/post/1672020/


All Articles