InstallableFlake: Apply nix config in getCursors

(cherry picked from commit 77bb950566)
This commit is contained in:
amesgen 2023-03-04 12:39:19 +01:00 committed by github-actions[bot]
parent 9588d2e939
commit 15d1f8b89c

View File

@ -178,8 +178,7 @@ std::pair<Value *, PosIdx> InstallableFlake::toValue(EvalState & state)
std::vector<ref<eval_cache::AttrCursor>>
InstallableFlake::getCursors(EvalState & state)
{
auto evalCache = openEvalCache(state,
std::make_shared<flake::LockedFlake>(lockFlake(state, flakeRef, lockFlags)));
auto evalCache = openEvalCache(state, getLockedFlake());
auto root = evalCache->getRoot();