mirror of
https://github.com/NixOS/nix.git
synced 2025-11-25 19:51:00 +01:00
Move mountInput into EvalState
This commit is contained in:
parent
ff85b347b8
commit
182edb4dee
7 changed files with 48 additions and 60 deletions
|
|
@ -204,11 +204,7 @@ static void fetchTree(
|
|||
|
||||
auto cachedInput = state.inputCache->getAccessor(state.store, input, false);
|
||||
|
||||
auto storePath = StorePath::random(input.getName());
|
||||
|
||||
state.allowPath(storePath);
|
||||
|
||||
state.storeFS->mount(CanonPath(state.store->printStorePath(storePath)), cachedInput.accessor);
|
||||
auto storePath = state.mountInput(cachedInput.lockedInput, input, cachedInput.accessor, true);
|
||||
|
||||
emitTreeAttrs(state, storePath, cachedInput.lockedInput, v, params.emptyRevFallback, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue