-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Untrusted users can't add new builders, but it seems reasonable to allow specifying fewers builders used -- most commonly I find I want to say "build this locally" using something like --option builders "" but this doesn't work. So I end up sometimes invoking as root just to force a local build.
Offhand I can't come up with a good example of why this is useful (to motivate such a change), but I can say I find myself running into this at least a few times a week. I think it's usually some combination of knowledge about the size of inputs vs network transfer time vs "compute power needed"-- for example many unfree packages have "sources" 100's of mb that it's silly to scp to a beefy builder from my home uplink ... just to perform an extraction and copy to $out. But there are other examples too :).
(I thought there was an issue for this already, but can't find it. Apologies if duplicate.)