问题
I am installing Haskell on my desktop, which is windows system. I follow the instruction. It says: Modify your cabal config file (you can verify 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 to call "cabal user-config init" in command prompt, but it doesn't work. Anyone know where should I call "cabal user-config init"?
来源:https://stackoverflow.com/questions/42725607/how-to-modify-cabal-config-file-on-windows