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

Old ghc version requires the global package db to be listed first #1964

Closed
qwbarch opened this issue May 24, 2023 · 2 comments
Closed

Old ghc version requires the global package db to be listed first #1964

qwbarch opened this issue May 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@qwbarch
Copy link

qwbarch commented May 24, 2023

Describe the bug

I'm trying to create a ghcjs project on ghc865. When running nix develop I receive the following error when building the time package:

> Configuring library for time-1.8.0.2..
> Setup: With current ghc versions the global package db is always used and must
> be listed first. This ghc limitation may be lifted in future, see
> http://hackage.haskell.org/trac/ghc/ticket/5977

This is gone when I switched to ghc8107 (as hinted by the error), but I'd like to stick to ghc865 due to a regression.

  • Build system: x86_64-linux
  • GHC version: 8.6.5
  • Haskell.nix version (or commit) used: 1059fc718d83803081cf96f0f9e0d758d5e1ed88

Steps To Reproduce

Running nix develop will eventually lead to the above error.

Expected behavior

nix develop should succeed, and allow me to proceed as normal.

@qwbarch qwbarch added the bug Something isn't working label May 24, 2023
@qwbarch
Copy link
Author

qwbarch commented May 24, 2023

Is it possible that using --package-db=global could fix this? Not sure if it's even possible to pass this argument over to cabal though.

@qwbarch
Copy link
Author

qwbarch commented Jun 29, 2023

Closing since ghc865 isn't even supported anymore

@qwbarch qwbarch closed this as not planned Won't fix, can't repro, duplicate, stale Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant