Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Installation from hackage fails with ghc 8.10.2 in cabal configuration step #4887

@andreasabel

Description

@andreasabel

Trying to install from hackage with ghc 8.10.2 produces a failure of cabal similar to #4845.

Interestingly, it works with ghc 8.8.4 and cabal 3.2, so the cabal version alone cannot be blamed.

Log

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.10.2

$ cabal --version
cabal-install version 3.2.0.0
compiled using version 3.2.0.0 of the Cabal library 

$ cabal install idris
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: idris-1.3.3 (user goal)
[__1] next goal: idris:setup.Cabal (dependency of idris)
[__1] rejecting: idris:setup.Cabal-3.2.0.0/installed-3.2.0.0 (conflict: idris
=> idris:setup.Cabal>=2.4 && <3.1)
[__1] skipping: idris:setup.Cabal-3.2.0.0 (has the same characteristics that
caused the previous version to fail: excluded by constraint '>=2.4 && <3.1'
from 'idris')
[__1] rejecting: idris:setup.Cabal-3.0.2.0, idris:setup.Cabal-3.0.1.0,
... (long list) ...
idris:setup.Cabal-1.24.1.0 (constraint from minimum version of Cabal used by
Setup.hs requires >=3.2)
...

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