Add use-ssh-substituter setting.

It defaults to false and can be overridden by RemoteStore.

Untested currently, just quickly put this together
This commit is contained in:
Shea Levy 2014-02-19 07:05:15 -05:00 committed by Eelco Dolstra
parent 36b90e72d7
commit df5de9dfd7
3 changed files with 17 additions and 0 deletions

View file

@ -149,6 +149,9 @@ struct Settings {
/* Set of ssh connection strings for the ssh substituter */
Strings sshSubstituterHosts;
/* Whether to use the ssh substituter at all */
bool useSshSubstituter;
/* Whether to impersonate a Linux 2.6 machine on newer kernels. */
bool impersonateLinux26;