aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-01-03 20:41:29 +0100
committerGitHub <noreply@github.com>2022-01-03 20:41:29 +0100
commitd7b286fc775b419206a3bc30bebf974ca1b36377 (patch)
tree5e23a8766f410caf13e9be116dd0e5ecaabcbcb0
parent1c099dee673f203398fb8372472bddedffb4df7e (diff)
parentd0c8e9254e8a8271a3f044ee69774096e57a74bb (diff)
Merge pull request #5844 from Kha/fix-ifd-chroot-once-more
Fix IFD with chroot store
-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));
}
}