aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
authorTom Bereknyei <tomberek@gmail.com>2021-11-19 23:52:52 -0500
committerTom Bereknyei <tomberek@gmail.com>2021-11-20 00:25:36 -0500
commit4318ba2ec568a9fe7d5b4b014df6b7d252ae3481 (patch)
treef75f3dd998929709426c49a49f1a9aa09c07ff4d /src/libexpr/primops.cc
parent9cd8cffefc65fe425c6aa07aa3bc67a8eec46087 (diff)
add real path to allowedPaths
Diffstat (limited to 'src/libexpr/primops.cc')
-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 5bd4e5545..8dccf6401 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -70,7 +70,7 @@ void EvalState::realiseContext(const PathSet & context)
if (outputPaths.count(outputName) == 0)
throw Error("derivation '%s' does not have an output named '%s'",
store->printStorePath(drvPath), outputName);
- allowedPaths->insert(store->printStorePath(outputPaths.at(outputName)));
+ allowPath(outputPaths.at(outputName));
}
}
}