Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot detect cabal on Windows #4

Open
kkdaisuki opened this issue Oct 4, 2020 · 0 comments
Open

Cannot detect cabal on Windows #4

kkdaisuki opened this issue Oct 4, 2020 · 0 comments

Comments

@kkdaisuki
Copy link

kkdaisuki commented Oct 4, 2020

When I am using cabal-edit on windows, it reported the following error message.

$ cabal-edit --version
No ~/.cabal directory found. Is cabal installed?

I had my Cabal and GHC properly installed.

$ cabal --version
cabal-install version 3.2.0.0
compiled using version 3.2.0.0 of the Cabal library.
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.10.2

This may be a problem with this line.

It attempts to find cabal files in $HOME/.cabal but in Windows Cabal save its files to %APPDATA%\cabal which is the result of getAppUserDataDirectory "cabal" on Windows system. (Reference)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant