From 92edc3836904c2448387be11330a6e7c62593873 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 1 Feb 2023 20:05:56 -0500 Subject: [PATCH] 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 --- src/libstore/remote-store.cc | 1 + 1 file changed, 1 insertion(+) 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;