From 77bb950566d4e3b0d98be73a270805ba543f9432 Mon Sep 17 00:00:00 2001 From: amesgen Date: Sat, 4 Mar 2023 12:39:19 +0100 Subject: [PATCH] InstallableFlake: Apply nix config in `getCursors` --- src/libcmd/installable-flake.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libcmd/installable-flake.cc b/src/libcmd/installable-flake.cc index 60a97deaf..7b0cc376d 100644 --- a/src/libcmd/installable-flake.cc +++ b/src/libcmd/installable-flake.cc @@ -178,8 +178,7 @@ std::pair InstallableFlake::toValue(EvalState & state) std::vector> InstallableFlake::getCursors(EvalState & state) { - auto evalCache = openEvalCache(state, - std::make_shared(lockFlake(state, flakeRef, lockFlags))); + auto evalCache = openEvalCache(state, getLockedFlake()); auto root = evalCache->getRoot();