Merge pull request #5844 from Kha/fix-ifd-chroot-once-more

Fix IFD with chroot store
This commit is contained in:
Eelco Dolstra 2022-01-03 20:41:29 +01:00 committed by GitHub
commit d7b286fc77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ StringMap EvalState::realiseContext(const PathSet & context)
paths. */
if (allowedPaths) {
for (auto & [_placeholder, outputPath] : res) {
allowPath(outputPath);
allowPath(store->toRealPath(outputPath));
}
}