aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-07 13:04:25 +0100
committereldritch horrors <pennae@lix.systems>2024-03-07 13:04:25 +0100
commit852bc55c870e32f18ca64cb7dcbdf225b137ed3c (patch)
tree78e4c709f454375077d84af234766bc017c1a663 /src
parent8a268359b06471b463a8f3fc46c83a1fced8ab75 (diff)
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
Diffstat (limited to 'src')
-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 c4fdc6098..fbe79a0e3 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -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);
}
}