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 · 1 comment
Open

How do I apply a hackage mirror? #2246

glyh opened this issue Aug 22, 2024 · 1 comment
Labels
bug Something isn't working wontfix

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
Copy link

stale bot commented Dec 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Dec 20, 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 wontfix
Projects
None yet
Development

No branches or pull requests

1 participant