Don't send plugin-files to the daemon.

This is radically unsafe and the daemon has already loaded its plugins
anyway.

Fixes cachix/devenv#276
This commit is contained in:
Shea Levy 2023-02-01 20:05:56 -05:00
parent 119ba50eb8
commit 92edc38369
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

View file

@ -266,6 +266,7 @@ void RemoteStore::setOptions(Connection & conn)
overrides.erase(settings.useSubstitutes.name);
overrides.erase(loggerSettings.showTrace.name);
overrides.erase(settings.experimentalFeatures.name);
overrides.erase(settings.pluginFiles.name);
conn.to << overrides.size();
for (auto & i : overrides)
conn.to << i.first << i.second.value;