Skip to content

Commit

Permalink
Tweak error message
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed May 11, 2017
1 parent 1a8e150 commit ea65ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/download.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ea65ae0

Please sign in to comment.