mirror of
https://github.com/NixOS/nix
synced 2025-06-30 11:43:15 +02:00
Fix bad exception reported by @layus
This commit is contained in:
parent
dbe7fcebff
commit
baee9fe7a2
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ struct ZipInputAccessor : InputAccessor
|
|||
std::string readFile(const CanonPath & path) override
|
||||
{
|
||||
if (lstat(path).type != tRegular)
|
||||
throw Error("file '%s' is not a regular file");
|
||||
throw Error("file '%s' is not a regular file", path);
|
||||
|
||||
return _readFile(path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue