Skip to content

Support for GHC 8.8 and 8.10 #15

Closed

Description

@sjakobi

I haven't been able to build the current master with GHC 8.8 or 8.10, so I ended up using GHC 8.6.

A naive cabal install --allow-newer -w ghc-8.10.2 fails with

lib/Distribution/Server/Util/CabalRevisions.hs:40:1: error:
    Could not find module ‘Distribution.Parsec.Common’
    Perhaps you meant
      Distribution.Parsec.Error (from Cabal-3.2.0.0)
      Distribution.Parsec.Position (from Cabal-3.2.0.0)
      Distribution.Parsec.Warning (from Cabal-3.2.0.0)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
40 | import Distribution.Parsec.Common (showPWarning, showPError, PWarning (..))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/Distribution/Server/Util/CabalRevisions.hs:41:27: error:
    Module ‘Distribution.Text’ does not export ‘Text(..)’
   |
41 | import Distribution.Text (Text(..))
   |                           ^^^^^^^^

This is probably related to #13.

Activity

  1. self-assigned this
    on Feb 16, 2022
  2. added
    re: build
    on Feb 16, 2022
  3. added this to the 0.0.3.2 milestone on Feb 16, 2022
  4. linked a pull request that will close this issueCompile with Cabal-3.0 and GHC 8.8 #37on Feb 16, 2022
  5. sjakobi commented on Feb 16, 2022

    @sjakobi
    CollaboratorAuthor

    Nice! Thank you, @andreasabel! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

re: build

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions