mirror of
https://github.com/NixOS/nix.git
synced 2025-12-02 15:11:00 +01:00
Fix eval caching for path flakes
This fix is somewhat hacky since the accessor/input fingerprint situation is a bit of a mess.
This commit is contained in:
parent
51acb1d4bc
commit
38a73203a4
2 changed files with 3 additions and 0 deletions
|
|
@ -354,6 +354,8 @@ std::pair<ref<SourceAccessor>, Input> Input::getAccessorUnchecked(ref<Store> sto
|
|||
|
||||
if (!accessor->fingerprint)
|
||||
accessor->fingerprint = result.getFingerprint(store);
|
||||
else
|
||||
result.cachedFingerprint = accessor->fingerprint;
|
||||
|
||||
return {accessor, std::move(result)};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue