aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastian Ullrich <sebasti@nullri.ch>2021-12-29 18:42:02 +0100
committerSebastian Ullrich <sebasti@nullri.ch>2021-12-29 19:00:02 +0100
commitd0c8e9254e8a8271a3f044ee69774096e57a74bb (patch)
treec790ddd334ec9b325bd164e64317c878664b95c2 /src
parented3bc63666732bdc0724f2e53c14935a9f0f6fe7 (diff)
Fix IFD with chroot store
Diffstat (limited to 'src')
-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));
}
}