aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-04-08 11:48:30 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-04-08 11:48:30 +0200
commitc68963eaea7005b5bfb954e50fefb36c36084414 (patch)
treea9d47f2fd060489be9b7e8688cd9223b3e1a3aa4 /src/libstore/build
parent8bd9ebf52c9f7c5381d071250660a48d133b5e87 (diff)
Remove duplicate "error:"
Diffstat (limited to 'src/libstore/build')
-rw-r--r--src/libstore/build/derivation-goal.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc
index 6582497bd..53f212c1d 100644
--- a/src/libstore/build/derivation-goal.cc
+++ b/src/libstore/build/derivation-goal.cc
@@ -1371,8 +1371,7 @@ void DerivationGoal::done(
{
buildResult.status = status;
if (ex)
- // FIXME: strip: "error: "
- buildResult.errorMsg = ex->what();
+ buildResult.errorMsg = fmt("%s", normaltxt(ex->info().msg));
if (buildResult.status == BuildResult::TimedOut)
worker.timedOut = true;
if (buildResult.status == BuildResult::PermanentFailure)