Skip to content

cabal-install-3.10.3.0 needs --constraint 'Cabal==3.10.3.0' ? #9833

@jwaldmann

Description

@jwaldmann

I had Cabal-3.10.2.1 from earlier. Then cabal install cabal-install breaks with

[30 of 50] Compiling Distribution.Solver.Types.PkgConfigDb ( src/Distribution/Solver/Types/PkgConfigDb.hs, dist/build/Distribution/Solver/Types/PkgConfigDb.o, dist/build/Distribution/Solver/Types/PkgConfigDb.dyn_o )

src/Distribution/Solver/Types/PkgConfigDb.hs:43:65: error:
    Module
    ‘Distribution.Simple.Program.Run’
    does not export
    ‘getProgramInvocationLBSAndErrors’
   |
43 |        (getProgramInvocationOutputAndErrors, programInvocation, getProgramInvocationLBSAndErrors)
   |                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

this works:

cabal install cabal-install-3.10.3.0 --constraint 'Cabal==3.10.3.0'

perhaps this constraint should be in the cabal file?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions