Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ValidPath (nar) hash optional if ca field is present #4059

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't dereference maintainExpectedNar uncondititonally
  • Loading branch information
Ericson2314 committed Aug 27, 2020
commit 6c5827c2116f89143cb3a30deb5047d1e53c72a7
3 changes: 2 additions & 1 deletion src/libstore/build.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4654,7 +4654,8 @@ void SubstitutionGoal::finished()
worker.doneDownloadSize += fileSize;
}

worker.doneNarSize += maintainExpectedNar->delta;
if (maintainExpectedNar)
worker.doneNarSize += maintainExpectedNar->delta;
maintainExpectedNar.reset();

worker.updateProgress();
Expand Down