diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-28T12·12+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-28T12·12+0200 |
commit | ce5776758d8f40ad5176e70916c71da3194dfcc3 (patch) | |
tree | 20428781613f89653cd7e81565bfda9f677205e4 /src | |
parent | cc804d0dc6c2c565ce9df63ae8557e2696eb2d59 (diff) |
Fix error message
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 93863b95fe7f..6806c3e4ae26 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(); |