mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
Fix error message
This commit is contained in:
parent
cc804d0dc6
commit
ce5776758d
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ void BinaryCacheStore::narFromPath(const Path & storePath, Sink & sink)
|
||||||
else if (info->compression == "xz")
|
else if (info->compression == "xz")
|
||||||
nar = decompressXZ(*nar);
|
nar = decompressXZ(*nar);
|
||||||
else
|
else
|
||||||
throw Error(format("unknown NAR compression type ‘%1%’") % nar);
|
throw Error(format("unknown NAR compression type ‘%1%’") % info->compression);
|
||||||
|
|
||||||
stats.narReadBytes += nar->size();
|
stats.narReadBytes += nar->size();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue