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

cabal2nix won't work user defined cabal config file? #68

Closed
eccstartup opened this issue Jul 16, 2014 · 2 comments
Closed

cabal2nix won't work user defined cabal config file? #68

eccstartup opened this issue Jul 16, 2014 · 2 comments

Comments

@eccstartup
Copy link

I changed the ~/.cabal/config file for a fast hackage mirror, so there is no ~/.cabal/hackage.haskell.org/ there. Then cabal2nix will give an error when I try cabal2nix cabal://somepackage.

What can I do?

peti added a commit that referenced this issue Jul 16, 2014
… can use Hackage mirrors.

This patch fixes <#68>.
@peti
Copy link
Member

peti commented Jul 16, 2014

The version 1.66 allows you to run the executable like this:

cabal2nix --hackage-db=$HOME/.cabal/packages/your.mirror.here/00-index.tar cabal://whatever

I hope this helps!

@peti peti closed this as completed Jul 16, 2014
@eccstartup
Copy link
Author

Good! Although I am using the version 1.6.3, I can wait for that!

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

No branches or pull requests

2 participants