mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 17:16:15 +02:00
nix-daemon: allow setting builders to "" by any user (untrusted)
(cherry picked from commit a94a2eb1cb1c81e90a7529be5fecac27899a3442)
This commit is contained in:
parent
42e4ea2b6d
commit
8df367a92d
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