mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
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:
parent
119ba50eb8
commit
92edc38369
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user