How to modify cabal config file on windows
Asked Answered
G

0

6

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"?

Grane answered 10/3, 2017 at 18:42 Comment(2)
Thanks guys. I solved it. Seems it is the firewall problem. I closed the firewall and reinstalled again, then it works.Grane
Related Q: https://mcmap.net/q/1919293/-installing-haskell-on-windows-cabal-config/2157640Invoke

© 2022 - 2024 — McMap. All rights reserved.