From ce5776758d8f40ad5176e70916c71da3194dfcc3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 28 Apr 2016 14:12:10 +0200 Subject: [PATCH] Fix error message --- src/libstore/binary-cache-store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();