#pragma once ///@file #include "build/local-derivation-goal.hh" #include "local-store.hh" namespace nix { /** * Fallback platform implementation of LocalStore * Exists so we can make LocalStore constructor protected */ class FallbackLocalStore : public LocalStore { public: FallbackLocalStore(const Params & params) : StoreConfig(params) , LocalFSStoreConfig(params) , LocalStoreConfig(params) , Store(params) , LocalFSStore(params) , LocalStore(params) { } FallbackLocalStore(const std::string scheme, std::string path, const Params & params) : FallbackLocalStore(params) { throw UnimplementedError("FallbackLocalStore"); } }; /** * Fallback platform implementation of LocalDerivationGoal * Exists so we can make LocalDerivationGoal constructor protected */ class FallbackLocalDerivationGoal : public LocalDerivationGoal { public: using LocalDerivationGoal::LocalDerivationGoal; }; }