diff options
author | amesgen <amesgen@amesgen.de> | 2023-03-04 12:39:19 +0100 |
---|---|---|
committer | amesgen <amesgen@amesgen.de> | 2023-03-04 12:52:20 +0100 |
commit | 77bb950566d4e3b0d98be73a270805ba543f9432 (patch) | |
tree | 9b089aa5b991a214b4ecdfe50dc09877504a4ffa /src | |
parent | 0507462c0626d19b59b78e490b7b203df29e7bb0 (diff) |
InstallableFlake: Apply nix config in `getCursors`
Diffstat (limited to 'src')
-rw-r--r-- | src/libcmd/installable-flake.cc | 3 |
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(); |