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:
parent
d62f6da81f
commit
f0a176e2f1
3 changed files with 97 additions and 0 deletions
20
src/libstore/local-overlay-store.cc
Normal file
20
src/libstore/local-overlay-store.cc
Normal 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;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue