Skip to content

cabal-install-3.10.1.0 appears not to be buildable from hackage #10385

Closed
@AndreasPK

Description

@AndreasPK

cabal install -w ghc-9.6.4 cabal-install-3.10.1.0 results in a build error related to simpleProgram not being exported somewhere.

This seems related to #9863

The error I get is

[128 of 132] Compiling Distribution.Client.CmdExec ( src/Distribution/Client/CmdExec.hs, dist/build/Distribution/Client/CmdExec.o, dist/build/Distribution/Client/CmdExec.dyn_o )

src/Distribution/Client/CmdExec.hs:72:5: error:
    Module
    ‘Distribution.Simple.Program.Types’
    does not export
    ‘simpleProgram’
   |
72 |   , simpleProgram
   |     ^^^^^^^^^^^^^

To Reproduce

cabal install -w ghc-9.6.4 cabal-install-3.10.1.0

System information

  • Operating system: linux
  • cabal, ghc versions: Build attempt with cabal-3.12/ghc-9.6.4

Additional context

I believe this could be fixed by updating the bounds for cabal-install to depend on a version of Cabal where simpleProgram hasn't been moved yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions