about summary refs log tree commit diff
path: root/src/libstore/machines.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-02T12·36+0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-02T13·46+0200
commit7f6837a0f6e7702a9e8c6da622873b955aa414cd (patch)
tree660f7c6134cc9343139df7eb13f227083b803f6b /src/libstore/machines.hh
parentcd4d2705ec6e641ffa3b11dc1aabad22fc38251a (diff)
Replace $NIX_REMOTE_SYSTEMS with an option "builder-files"
Also, to unify with hydra-queue-runner, allow it to be a list of
files.
Diffstat (limited to 'src/libstore/machines.hh')
-rw-r--r--src/libstore/machines.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/machines.hh b/src/libstore/machines.hh
index e0455742844b..de92eb924e4a 100644
--- a/src/libstore/machines.hh
+++ b/src/libstore/machines.hh
@@ -13,6 +13,7 @@ struct Machine {
     const unsigned int speedFactor;
     const std::set<string> supportedFeatures;
     const std::set<string> mandatoryFeatures;
+    const std::string sshPublicHostKey;
     bool enabled = true;
 
     bool allSupported(const std::set<string> & features) const;
@@ -25,7 +26,8 @@ struct Machine {
         decltype(maxJobs) maxJobs,
         decltype(speedFactor) speedFactor,
         decltype(supportedFeatures) supportedFeatures,
-        decltype(mandatoryFeatures) mandatoryFeatures);
+        decltype(mandatoryFeatures) mandatoryFeatures,
+        decltype(sshPublicHostKey) sshPublicHostKey);
 };
 
 typedef std::vector<Machine> Machines;