Skip to content

Commit 0bc3370

Browse files
committed
Input::getAccessorUnchecked(): Propagate accessor fingerprint
1 parent 411826f commit 0bc3370

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libfetchers/fetchers.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ std::pair<ref<SourceAccessor>, Input> Input::getAccessorUnchecked(const Settings
328328
auto accessor = make_ref<SubstitutedSourceAccessor>(ref{store->getFSAccessor(*storePath)});
329329

330330
accessor->fingerprint = getFingerprint(store);
331+
cachedFingerprint = accessor->fingerprint;
331332

332333
// Store a cache entry for the substituted tree so later fetches
333334
// can reuse the existing nar instead of copying the unpacked

0 commit comments

Comments
 (0)