Skip to content

Base lower bounds are wrong #3999

Closed
@hasufell

Description

@hasufell

Compiling HLS with GHC-9.0.2 results in compilation errors:

[ 6 of 76] Compiling Development.IDE.GHC.Compat.Core ( src/Development/IDE/GHC/Compat/Core.hs, dist/build/Development/IDE/GHC/Compat/Core.o, dist/build/Development/IDE/GHC/Compat/Core.dyn_o )

src/Development/IDE/GHC/Compat/Core.hs:509:1: error:
    Could not load module `GHC.Driver.Env'
    It is a member of the hidden package `ghc-lib-parser-9.4.8.20231111'.
    Perhaps you need to add `ghc-lib-parser' to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.

Unbuildable configurations must be disallowed by the cabal file, so we don't revive cabal hell.

tested-with: GHC == 9.0.2 || ==9.2.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triagetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions