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); } }