Skip to content

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

@sternenseemann

Description

@sternenseemann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions