mirror of
https://github.com/NixOS/nix.git
synced 2025-11-25 03:39:36 +01:00
Fix broken fetchToStore() caching on unlocked inputs
This commit is contained in:
parent
e84daa23f7
commit
cbedb8e19a
2 changed files with 7 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ std::pair<ref<SourceAccessor>, Input> Input::getAccessorUnchecked(ref<Store> sto
|
|||
|
||||
assert(!accessor->getFingerprint(CanonPath::root));
|
||||
|
||||
if (auto fingerprint = getFingerprint(store))
|
||||
if (auto fingerprint = result.getFingerprint(store))
|
||||
accessor->setFingerprint(*fingerprint);
|
||||
|
||||
return {accessor, std::move(result)};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue