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

Change an `allowPath` call to take a store path again

(cherry picked from commit 7c9ed1b1a325fe64a186e9d454607eaa0a7e8951)
Change-Id: Ia5ec924315a1f2640a0438cfb4b1ee0689cd3558
This commit is contained in:
eldritch horrors 2024-03-07 13:04:25 +01:00
parent 8a268359b0
commit 852bc55c87

View file

@ -111,7 +111,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);
}
}