diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-05-11 13:59:47 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-05-11 13:59:47 +0200 |
commit | ea65ae0f9c3461f9b098c8757e01f5c3add8b40c (patch) | |
tree | 59e8ceab4bfd116252381bbd77018c603cd6f524 /src/libstore | |
parent | 1a8e15053a6611963042306d4d3b0d5b89629eb1 (diff) |
Tweak error message
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/download.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc index 93519ec66..5390bdbf5 100644 --- a/src/libstore/download.cc +++ b/src/libstore/download.cc @@ -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; } |