Merge pull request #2448 from dtzWill/feature/nix-daemon-accept-empty-builders-untrusted
nix-daemon: allow setting builders to "" by any user (untrusted)
This commit is contained in:
commit
7ccdcc7fed
1 changed files with 2 additions and 1 deletions
|
@ -557,7 +557,8 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
|
||||||
;
|
;
|
||||||
else if (trusted
|
else if (trusted
|
||||||
|| name == settings.buildTimeout.name
|
|| name == settings.buildTimeout.name
|
||||||
|| name == "connect-timeout")
|
|| name == "connect-timeout"
|
||||||
|
|| (name == "builders" && value == ""))
|
||||||
settings.set(name, value);
|
settings.set(name, value);
|
||||||
else if (setSubstituters(settings.substituters))
|
else if (setSubstituters(settings.substituters))
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in a new issue