Nix's substituter list is not a routing table

By @NotAShelf, interesting article, talks about a tool called ncro they made to help fix nix’s multi-cache slowness problem.

17 Likes

Pretty cool!!

It may help reducing the “I pull a lot of random flakes” :sparkles: problem.

Btw: nice to see some systemd service hardening.

1 Like

Can ncro handle flake.nix that have extra-substituters? Like this:

Yes, but you’ll lose the abilty to race those substituters in parallel. Those caches will be used only after substituters is exhausted though, so yeah, that’s viable if you don’t mind that those extra substituters may be handled slowly as if you’re not using ncro at all.

2 Likes