aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2023-02-01 20:05:56 -0500
committerShea Levy <shea@shealevy.com>2023-02-01 20:05:56 -0500
commit92edc3836904c2448387be11330a6e7c62593873 (patch)
treea9e5940c571eb49274e9585ea7a164c58d83adc2 /src/libstore
parent119ba50eb840d812d7175cdc105d9e38dabb5773 (diff)
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
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/remote-store.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index ff57a77ca..d1296627a 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -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;