aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-10-28 14:56:55 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-10-28 14:56:55 +0200
commita7d4f3411ef1aec29c990245ae984b24c3537105 (patch)
treeca070a454a391ca1938a5a162bcc3f6b64c187da /src/libstore/daemon.cc
parenta594d1afd5172abba85561f04fd9976582f1b6c3 (diff)
parentbc4b7521f4a72de1d7a9db0b5be76885e0729e7c (diff)
Merge remote-tracking branch 'origin/master' into non-blocking-gc
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r--src/libstore/daemon.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index 3df88ff03..9f6c3da3d 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -230,11 +230,12 @@ struct ClientSettings
else if (name == settings.experimentalFeatures.name) {
// We don’t want to forward the experimental features to
// the daemon, as that could cause some pretty weird stuff
- if (tokenizeString<Strings>(value) != settings.experimentalFeatures.get())
+ if (parseFeatures(tokenizeString<StringSet>(value)) != settings.experimentalFeatures.get())
debug("Ignoring the client-specified experimental features");
}
else if (trusted
|| name == settings.buildTimeout.name
+ || name == settings.buildRepeat.name
|| name == "connect-timeout"
|| (name == "builders" && value == ""))
settings.set(name, value);