InstallableFlake: Apply nix config in getCursors

This commit is contained in:
amesgen 2023-03-04 12:39:19 +01:00
parent 0507462c06
commit 77bb950566
No known key found for this signature in database
GPG key ID: 1A89EC203635A13D

View file

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