aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 62c21c7c5..7c964bd0d 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -82,7 +82,7 @@ StringMap EvalState::realiseContext(const PathSet & context)
paths. */
if (allowedPaths) {
for (auto & [_placeholder, outputPath] : res) {
- allowPath(outputPath);
+ allowPath(store->toRealPath(outputPath));
}
}