aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/legacy-ssh-store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/legacy-ssh-store.cc')
-rw-r--r--src/libstore/legacy-ssh-store.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libstore/legacy-ssh-store.cc b/src/libstore/legacy-ssh-store.cc
index 5650282d6..9e2d65a1c 100644
--- a/src/libstore/legacy-ssh-store.cc
+++ b/src/libstore/legacy-ssh-store.cc
@@ -1,4 +1,4 @@
-#include "ssh-store-config.hh"
+#include "legacy-ssh-store.hh"
#include "archive.hh"
#include "pool.hh"
#include "remote-store.hh"
@@ -8,6 +8,7 @@
#include "store-api.hh"
#include "path-with-outputs.hh"
#include "ssh.hh"
+#include "ssh-store.hh"
#include "derivations.hh"
namespace nix {
@@ -412,6 +413,8 @@ public:
{ unsupported("queryRealisation"); }
};
-static RegisterStoreImplementation<LegacySSHStore, LegacySSHStoreConfig> regLegacySSHStore;
+void registerLegacySSHStore() {
+ StoreImplementations::add<LegacySSHStore, LegacySSHStoreConfig>();
+}
}