mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 12:36:01 +01:00
Expose the fact that storeFS is a MountedSourceAccessor
This will become useful.
This commit is contained in:
parent
8ef70ef522
commit
35189c0ae0
2 changed files with 3 additions and 2 deletions
|
|
@ -240,7 +240,7 @@ EvalState::EvalState(
|
|||
|
||||
auto realStoreDir = dirOf(store->toRealPath(StorePath::dummy));
|
||||
if (settings.pureEval || store->storeDir != realStoreDir) {
|
||||
accessor = settings.pureEval ? storeFS : makeUnionSourceAccessor({accessor, storeFS});
|
||||
accessor = settings.pureEval ? storeFS.cast<SourceAccessor>() : makeUnionSourceAccessor({accessor, storeFS});
|
||||
}
|
||||
|
||||
/* Apply access control if needed. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue