Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with Cabal-3.14 #85

Closed
andreasabel opened this issue Oct 17, 2024 · 1 comment · Fixed by #87
Closed

Build failure with Cabal-3.14 #85

andreasabel opened this issue Oct 17, 2024 · 1 comment · Fixed by #87
Assignees

Comments

@andreasabel
Copy link
Collaborator

src/Distribution/Extra/Doctest.hs:464:8: error: [GHC-76037]
    Not in scope: data constructor ‘GlobalPackageDB’
    Suggested fix:
      Add ‘GlobalPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
464 |       (GlobalPackageDB:UserPackageDB:dbs) -> concatMap specific dbs
    |        ^^^^^^^^^^^^^^^
@ulidtko ulidtko self-assigned this Nov 11, 2024
@ulidtko
Copy link
Owner

ulidtko commented Nov 20, 2024

Diagnosed; caused by haskell/cabal#10559

An (yet another) #if MIN_VERSION_Cabal should fix it ⌛

@ulidtko ulidtko mentioned this issue Nov 20, 2024
4 tasks
ulidtko added a commit that referenced this issue Nov 21, 2024
Adaptations to API breakages in Cabal 3.14.0.0, discussed in
haskell/cabal#10559

Resolves #85.
ulidtko added a commit that referenced this issue Nov 21, 2024
Adaptations to API breakages in Cabal 3.14.0.0, discussed in
haskell/cabal#10559

Resolves #85.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants