How does nix choose a substituter when there is more than one choice?

As mentioned on documentation: mention substituter precedence by asymmetric · Pull Request #3685 · NixOS/nix · GitHub and Allow overriding substituter priorities · Issue #3264 · NixOS/nix · GitHub at the end of 2019 a seemingly undocumented feature was added to substituter URIs allowing one to set the priority by appending a “?priority=…” parameter.

2 Likes