about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-08-21T13·19+0200
committerEelco Dolstra <edolstra@gmail.com>2018-08-21T13·19+0200
commit17a92dfb7d87499d7aed5d3b0504d4c724db18a3 (patch)
tree83c3a3c78e7d9ab9065e28918aefceabfd443d57
parentcc7b4386b16885a22ccabb019381539fecb00230 (diff)
Fix another 'coroutine has finished' during decompression
https://hydra.nixos.org/build/79867739
-rw-r--r--src/libstore/binary-cache-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc
index 9c75c85993f9..4527ee6ba660 100644
--- a/src/libstore/binary-cache-store.cc
+++ b/src/libstore/binary-cache-store.cc
@@ -232,7 +232,7 @@ void BinaryCacheStore::narFromPath(const Path & storePath, Sink & sink)
         throw SubstituteGone(e.what());
     }
 
-    decompressor->flush();
+    decompressor->finish();
 
     stats.narRead++;
     //stats.narReadCompressedBytes += nar->size(); // FIXME