Skip to content

Commit

Permalink
Merge pull request #8266 from NixOS/backport-7958-to-2.14-maintenance
Browse files Browse the repository at this point in the history
[Backport 2.14-maintenance] InstallableFlake: Apply nix config in `getCursors`
  • Loading branch information
edolstra authored Apr 28, 2023
2 parents 9588d2e + 15d1f8b commit 4504ee2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libcmd/installable-flake.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 4504ee2

Please sign in to comment.