forked from lix-project/lix
Allow access to path copied to the store
Fixes https://github.com/NixOS/nix/pull/5163#issuecomment-931733912.
This commit is contained in:
parent
cfaad7168e
commit
972405edf5
|
@ -1897,6 +1897,7 @@ string EvalState::copyPathToStore(PathSet & context, const Path & path)
|
|||
dstPath = store->printStorePath(p);
|
||||
srcToStore.insert_or_assign(path, std::move(p));
|
||||
printMsg(lvlChatty, "copied source '%1%' -> '%2%'", path, dstPath);
|
||||
allowPath(dstPath);
|
||||
}
|
||||
|
||||
context.insert(dstPath);
|
||||
|
|
Loading…
Reference in a new issue