|
|
Use ne's and zu's binary cache. With fallback, Nix disables a cache it
can't reach for 60 seconds and builds instead, so an offline cache
doesn't fail the build. connect-timeout lowers the wait per attempt
from the default 15 seconds to 5.
Nix retries failed downloads from every cache up to 5 times by default.
For an unreachable cache that means waiting about 30 seconds per URL in
each Nix command before Nix disables it. With one attempt, it is
connect-timeout, 5 seconds. This also applies to cache.nixos.org.
|