aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoramesgen <amesgen@amesgen.de>2023-03-04 12:39:19 +0100
committeramesgen <amesgen@amesgen.de>2023-03-04 12:52:20 +0100
commit77bb950566d4e3b0d98be73a270805ba543f9432 (patch)
tree9b089aa5b991a214b4ecdfe50dc09877504a4ffa /src
parent0507462c0626d19b59b78e490b7b203df29e7bb0 (diff)
InstallableFlake: Apply nix config in `getCursors`
Diffstat (limited to 'src')
-rw-r--r--src/libcmd/installable-flake.cc3
1 files changed, 1 insertions, 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<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();