aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/download.cc2
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;
}