mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 22:42:41 +01:00
Use ref<LockedFlake> where non-null
This commit is contained in:
parent
0387b7d6db
commit
42c9cbf9ca
6 changed files with 10 additions and 11 deletions
|
|
@ -342,8 +342,7 @@ void completeFlakeRefWithFragment(
|
|||
parseFlakeRef(fetchSettings, expandTilde(flakeRefS), std::filesystem::current_path().string());
|
||||
|
||||
auto evalCache = openEvalCache(
|
||||
*evalState,
|
||||
std::make_shared<flake::LockedFlake>(lockFlake(flakeSettings, *evalState, flakeRef, lockFlags)));
|
||||
*evalState, make_ref<flake::LockedFlake>(lockFlake(flakeSettings, *evalState, flakeRef, lockFlags)));
|
||||
|
||||
auto root = evalCache->getRoot();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue