-
Notifications
You must be signed in to change notification settings - Fork 0
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
First pass, uncompiled yet #1
base: master
Are you sure you want to change the base?
Conversation
|
Btw, feel free to post screenshots... so we can see what it looks like w/o having to build this PR :-) |
@gbaz you suggested just using Hackage directly to avoid the (persistent) error on the mirror. Sounds like a good idea. In fact, I have no idea why cabal is using a mirror in the first place. I know even less about specifying a mirror, or indeed unspecifying one. I searched the cabal manual to no avail, and there don't appear to be pointers in the --help output either. What did I miss? :) |
Cabal auto-falls back to mirrors if it has problems contacting the main server. You may have accidentally specified a mirror in your ~/.cabal/config file otherwise. If you persistently have trouble connecting to hackage, you may want to play around with your |
I found the 'remote-repo' setting, which looks ok in .cabal/config:
I am in fact on Linux. The problem is persisting, but just for that one package, xss-sanitize. Everything else is downloading fine. Is there something wrong with this package?
|
Bizarre! You may find better luck switching transports anyway (as a way of avoiding some sort of weird caching issue -- to be honest i have no idea). For what its worth, I can download from that location on my computer just fine... |
Ugh. I was bit by NixOS/nix#395 , though perhaps cabal-install could have reported the error better. (With more verbosity, I did see the "out of space" messages.) |
My next blocker is that building hackage-server on NixOS has not proven to be straightforward.
It won't take much research to square this away, but that's where I am for the time being. |
cabal install is currently failing with "Unexpected response 503for http://objects-us-west-1.dream.io/hackage-mirror/package/xss-sanitize-0.3.5.7.tar.gz", so I'm pausing for the evening!
This PR is a work-in-progress; it will be redirected to haskell/hackage-server when appropriate.