Skip to content

Commit

Permalink
Allow access to path copied to the store
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Oct 7, 2021
1 parent cfaad71 commit 972405e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libexpr/eval.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 972405e

Please sign in to comment.