aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/machines.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/machines.hh')
-rw-r--r--src/libstore/machines.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/machines.hh b/src/libstore/machines.hh
index de92eb924..341d9bd97 100644
--- a/src/libstore/machines.hh
+++ b/src/libstore/machines.hh
@@ -4,6 +4,8 @@
namespace nix {
+class Store;
+
struct Machine {
const string storeUri;
@@ -28,6 +30,8 @@ struct Machine {
decltype(supportedFeatures) supportedFeatures,
decltype(mandatoryFeatures) mandatoryFeatures,
decltype(sshPublicHostKey) sshPublicHostKey);
+
+ ref<Store> openStore() const;
};
typedef std::vector<Machine> Machines;