mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
Fix segfault using non-binary cache stores as substituters
This commit is contained in:
parent
84722d67d2
commit
2175eee9fe
1 changed files with 1 additions and 1 deletions
|
@ -3670,7 +3670,7 @@ void SubstitutionGoal::tryNext()
|
|||
/* Update the total expected download size. */
|
||||
auto narInfo = std::dynamic_pointer_cast<const NarInfo>(info);
|
||||
|
||||
maintainExpectedNar = std::make_unique<MaintainCount<uint64_t>>(worker.expectedNarSize, narInfo->narSize);
|
||||
maintainExpectedNar = std::make_unique<MaintainCount<uint64_t>>(worker.expectedNarSize, info->narSize);
|
||||
|
||||
maintainExpectedDownload =
|
||||
narInfo && narInfo->fileSize
|
||||
|
|
Loading…
Reference in a new issue