mirror of
https://github.com/NixOS/nix.git
synced 2024-11-27 09:12:40 +00:00
Tweak error message
This commit is contained in:
parent
1a8e15053a
commit
ea65ae0f9c
@ -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 New Issue
Block a user