Fix another 'coroutine has finished' during decompression

https://hydra.nixos.org/build/79867739
This commit is contained in:
Eelco Dolstra 2018-08-21 15:19:20 +02:00
parent cc7b4386b1
commit 17a92dfb7d

View file

@ -232,7 +232,7 @@ void BinaryCacheStore::narFromPath(const Path & storePath, Sink & sink)
throw SubstituteGone(e.what()); throw SubstituteGone(e.what());
} }
decompressor->flush(); decompressor->finish();
stats.narRead++; stats.narRead++;
//stats.narReadCompressedBytes += nar->size(); // FIXME //stats.narReadCompressedBytes += nar->size(); // FIXME