Merge pull request #9890 from obsidiansystems/remove-unneeded-toRealPath

Change an `allowPath` call to take a store path again
This commit is contained in:
Robert Hensing 2024-01-31 18:45:19 +01:00 committed by GitHub
commit 7c9ed1b1a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,7 +112,7 @@ StringMap EvalState::realiseContext(const NixStringContext & context)
for (auto & outputPath : outputsToCopyAndAllow) {
/* Add the output of this derivations to the allowed
paths. */
allowPath(store->toRealPath(outputPath));
allowPath(outputPath);
}
return res;