From 852bc55c870e32f18ca64cb7dcbdf225b137ed3c Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Thu, 7 Mar 2024 13:04:25 +0100 Subject: [PATCH] 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 --- src/libexpr/primops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }