aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/platform/fallback.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/platform/fallback.hh')
-rw-r--r--src/libstore/platform/fallback.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libstore/platform/fallback.hh b/src/libstore/platform/fallback.hh
index fd27edbe6..3b77536bb 100644
--- a/src/libstore/platform/fallback.hh
+++ b/src/libstore/platform/fallback.hh
@@ -1,6 +1,7 @@
#pragma once
///@file
+#include "build/local-derivation-goal.hh"
#include "local-store.hh"
namespace nix {
@@ -28,4 +29,14 @@ public:
}
};
+/**
+ * Fallback platform implementation of LocalDerivationGoal
+ * Exists so we can make LocalDerivationGoal constructor protected
+ */
+class FallbackLocalDerivationGoal : public LocalDerivationGoal
+{
+public:
+ using LocalDerivationGoal::LocalDerivationGoal;
+};
+
}