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

How do I apply a hackage mirror? #2246

Open
glyh opened this issue Aug 22, 2024 · 0 comments
Open

How do I apply a hackage mirror? #2246

glyh opened this issue Aug 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@glyh
Copy link

glyh commented Aug 22, 2024

The connection to hackage is bad in my region. So I need to figure out how to configure a hackage mirror. I have successfully configure it for either stack or cabal as there's tons of tutorial out there. But I can't figure out how to do it with haskell.nix.

There's #1293, but it only overrides a single package source.

Also, it looks like https://input-output-hk.github.io/haskell.nix/reference/modules.html#packagessrc is the way to go, but I am new to nix and I couldn't figure out how to override that. Could you please provide a simple example for it?

Thanks.

@glyh glyh added the bug Something isn't working label Aug 22, 2024
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