Currently, the nix tool decides the order in which substituters are queried by using a
Priority value, which substituters can set themselves:
❯ curl -L cache.nixos.org/nix-cache-info StoreDir: /nix/store WantMassQuery: 1 Priority: 40
❯ curl -L nix-community.cachix.org/nix-cache-info StoreDir: /nix/store WantMassQuery: 1 Priority: 41
This strikes me as a big security concern, and is the reason I don’t use community caches as much as I’d like - they/Cachix could change their
Priority and overtake cache.nixos.org.
Is there a good reason to keep this behaviour around?