1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-03 07:31:00 +01:00

Init local overlay store

This commit is contained in:
John Ericson 2023-05-08 10:20:06 -04:00
parent d62f6da81f
commit f0a176e2f1
3 changed files with 97 additions and 0 deletions

View file

@ -0,0 +1,20 @@
#include "local-overlay-store.hh"
namespace nix {
LocalOverlayStore::LocalOverlayStore(const Params & params)
: StoreConfig(params)
, LocalFSStoreConfig(params)
, LocalStoreConfig(params)
, LocalOverlayStoreConfig(params)
, Store(params)
, LocalFSStore(params)
, LocalStore(params)
, lowerStore(openStore(lowerStoreUri).dynamic_pointer_cast<LocalFSStore>())
{
}
static RegisterStoreImplementation<LocalOverlayStore, LocalOverlayStoreConfig> regLocalOverlayStore;
}