0
0
Fork 0
forked from lix-project/lix

Merge pull request from amesgen/issue-7955

InstallableFlake: Apply nix config in `getCursors`
This commit is contained in:
Eelco Dolstra 2023-03-06 11:08:51 +01:00 committed by GitHub
commit 3f4dc61f7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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