forked from lix-project/lix
Don't send eval-related settings to the daemon
This commit is contained in:
parent
035d0adfd8
commit
db5424bf09
|
@ -11,6 +11,7 @@
|
||||||
#include "finally.hh"
|
#include "finally.hh"
|
||||||
#include "logging.hh"
|
#include "logging.hh"
|
||||||
#include "callback.hh"
|
#include "callback.hh"
|
||||||
|
#include "filetransfer.hh"
|
||||||
|
|
||||||
namespace nix {
|
namespace nix {
|
||||||
|
|
||||||
|
@ -171,7 +172,8 @@ void RemoteStore::setOptions(Connection & conn)
|
||||||
|
|
||||||
if (GET_PROTOCOL_MINOR(conn.daemonVersion) >= 12) {
|
if (GET_PROTOCOL_MINOR(conn.daemonVersion) >= 12) {
|
||||||
std::map<std::string, Config::SettingInfo> overrides;
|
std::map<std::string, Config::SettingInfo> overrides;
|
||||||
globalConfig.getSettings(overrides, true);
|
settings.getSettings(overrides, true); // libstore settings
|
||||||
|
fileTransferSettings.getSettings(overrides, true);
|
||||||
overrides.erase(settings.keepFailed.name);
|
overrides.erase(settings.keepFailed.name);
|
||||||
overrides.erase(settings.keepGoing.name);
|
overrides.erase(settings.keepGoing.name);
|
||||||
overrides.erase(settings.tryFallback.name);
|
overrides.erase(settings.tryFallback.name);
|
||||||
|
|
Loading…
Reference in a new issue