How to modify cabal config file on windows

假如想象 提交于 2019-12-30 06:52:51

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!