about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-11T11·59+0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-11T11·59+0200
commitea65ae0f9c3461f9b098c8757e01f5c3add8b40c (patch)
tree59e8ceab4bfd116252381bbd77018c603cd6f524 /src
parent1a8e15053a6611963042306d4d3b0d5b89629eb1 (diff)
Tweak error message
Diffstat (limited to 'src')
-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 93519ec663a7..5390bdbf5ed8 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;
 }