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:
parent
8a268359b0
commit
852bc55c87
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ StringMap EvalState::realiseContext(const NixStringContext & context)
|
||||||
for (auto & outputPath : outputsToCopyAndAllow) {
|
for (auto & outputPath : outputsToCopyAndAllow) {
|
||||||
/* Add the output of this derivations to the allowed
|
/* Add the output of this derivations to the allowed
|
||||||
paths. */
|
paths. */
|
||||||
allowPath(store->toRealPath(outputPath));
|
allowPath(outputPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue