diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/binary-cache-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc index 93863b95f..6806c3e4a 100644 --- a/src/libstore/binary-cache-store.cc +++ b/src/libstore/binary-cache-store.cc @@ -144,7 +144,7 @@ void BinaryCacheStore::narFromPath(const Path & storePath, Sink & sink) else if (info->compression == "xz") nar = decompressXZ(*nar); else - throw Error(format("unknown NAR compression type ‘%1%’") % nar); + throw Error(format("unknown NAR compression type ‘%1%’") % info->compression); stats.narReadBytes += nar->size(); |