diff --git a/src/hydra-queue-runner/binary-cache-store.cc b/src/hydra-queue-runner/binary-cache-store.cc index 6370c3b4..873b83b4 100644 --- a/src/hydra-queue-runner/binary-cache-store.cc +++ b/src/hydra-queue-runner/binary-cache-store.cc @@ -68,7 +68,7 @@ void BinaryCacheStore::addToCache(const ValidPathInfo & info, auto duration = std::chrono::duration_cast(now2 - now1).count(); printMsg(lvlTalkative, format("copying path ‘%1%’ (%2% bytes, compressed %3$.1f%% in %4% ms) to binary cache") - % info.path % info.narSize + % narInfo.path % narInfo.narSize % ((1.0 - (double) narXz.size() / nar.size()) * 100.0) % duration);