mirror of
https://github.com/NixOS/nix.git
synced 2025-12-20 07:51:07 +01:00
EvalState::realiseContext(): Allow access to the entire closure
Fixes #11030.
(cherry picked from commit 08361f031d)
# Conflicts:
# src/libexpr/eval.cc
# tests/functional/import-from-derivation.nix
# tests/functional/import-from-derivation.sh
This commit is contained in:
parent
6a791e946f
commit
f986f7e89b
5 changed files with 129 additions and 5 deletions
|
|
@ -392,6 +392,11 @@ public:
|
|||
*/
|
||||
void allowPath(const StorePath & storePath);
|
||||
|
||||
/**
|
||||
* Allow access to the closure of a store path.
|
||||
*/
|
||||
void allowClosure(const StorePath & storePath);
|
||||
|
||||
/**
|
||||
* Allow access to a store path and return it as a string.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue