nixops icon indicating copy to clipboard operation
nixops copied to clipboard

Nixops won't fallback to second binary cache if first one is broken

Open LisannaAtHome opened this issue 7 years ago • 1 comments

Nixops is not falling back to my second binary cache (cache.nixos.org) if the first one I have specified is broken (returning error 500). This is useless, since it blocks my ability to deploy to fix the binary cache in the first place.

Workaround: temporarily remove the offending binary cache from your substituters list (e.g., by passing --option substituters https://cache.nixos.org)

LisannaAtHome avatar Oct 31 '18 18:10 LisannaAtHome

This appears to be a Nix issue. Nix has behavior that disables caches when they're down now. It may not be perfect yet though.

roberth avatar Feb 19 '21 16:02 roberth