mirror of
https://github.com/NixOS/nix.git
synced 2025-11-19 08:49:35 +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
|
|
@ -954,7 +954,7 @@ std::optional<Fingerprint> LockedFlake::getFingerprint(ref<Store> store, const f
|
|||
|
||||
Flake::~Flake() {}
|
||||
|
||||
ref<eval_cache::EvalCache> openEvalCache(EvalState & state, std::shared_ptr<LockedFlake> lockedFlake)
|
||||
ref<eval_cache::EvalCache> openEvalCache(EvalState & state, ref<LockedFlake> lockedFlake)
|
||||
{
|
||||
auto fingerprint = state.settings.useEvalCache && state.settings.pureEval
|
||||
? lockedFlake->getFingerprint(state.store, state.fetchSettings)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue