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

Regression (3.8.1.0): cabal sdist no longer works if GHC is not available #8413

Closed
sternenseemann opened this issue Aug 21, 2022 · 2 comments

Comments

@sternenseemann
Copy link

Describe the bug

Running cabal sdist will now fail with

Error: cabal: The program 'ghc' version >=7.0.1 is required but it could not

if GHC is not in PATH.

Expected behavior

My guess is that GHC is not necessary for this command and the check could be omitted.

System information

  • Operating NixOS
  • cabal 3.8.1.0
@ffaf1
Copy link
Collaborator

ffaf1 commented Aug 21, 2022

It seems a duplicate of #8352.
If it is ok with you @sternenseemann, I am closing it to focus the discussion on the original ticket.

@sternenseemann
Copy link
Author

Sure.

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

2 participants