summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix/libstore/build.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
index c5383bc756..e8259aa4e8 100644
--- a/nix/libstore/build.cc
+++ b/nix/libstore/build.cc
@@ -3074,8 +3074,8 @@ void SubstitutionGoal::finished()
 	auto statusList = tokenizeString<vector<string> >(status);
 
 	if (statusList.empty()) {
-            throw SubstError(format("fetching path `%1%' (empty status: '%2%')")
-			     % storePath % status);
+            throw SubstError(format("fetching path `%1%' (empty status)")
+			     % storePath);
 	} else if (statusList[0] == "hash-mismatch") {
 	    if (settings.printBuildTrace) {
 		auto hashType = statusList[1];