Tweak error message
This commit is contained in:
parent
1a8e15053a
commit
ea65ae0f9c
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ Path Downloader::downloadCached(ref<Store> store, const string & url_, bool unpa
|
|||
}
|
||||
|
||||
if (expectedStorePath != "" && storePath != expectedStorePath)
|
||||
throw nix::Error(format("hash mismatch in file downloaded from ‘%s’") % url);
|
||||
throw nix::Error("store path mismatch in file downloaded from ‘%s’", url);
|
||||
|
||||
return storePath;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue