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

Running cabal v2-update now requires ghc #8447

Closed
hamishmack opened this issue Sep 2, 2022 · 2 comments
Closed

Running cabal v2-update now requires ghc #8447

hamishmack opened this issue Sep 2, 2022 · 2 comments

Comments

@hamishmack
Copy link
Collaborator

Steps to reproduce the behavior:

$ which ghc
ghc not found
$ cabal --version
cabal-install version 3.8.1.0
compiled using version 3.8.1.0 of the Cabal library
$ CABAL_DIR=$(mktemp -d) cabal v2-update
Config file path source is default config file.
Config file not found:
/var/folders/2_/mj2rggp115b9bvff2zvyf29h0000gn/T/tmp.poky7IxL/config
Writing default configuration to
/var/folders/2_/mj2rggp115b9bvff2zvyf29h0000gn/T/tmp.poky7IxL/config
Error: cabal: The program 'ghc' version >=7.0.1 is required but it could not
be found.

The steps above worked with cabal-install 3.6.2.0.

@ffaf1
Copy link
Collaborator

ffaf1 commented Sep 2, 2022

Hello, this seems #8352, can you confirm? If so I will close so that all discussion is located in one place.

@hamishmack
Copy link
Collaborator Author

Yes that is it.

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

No branches or pull requests

3 participants