diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-04-08 11:48:30 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-04-08 11:48:30 +0200 |
commit | c68963eaea7005b5bfb954e50fefb36c36084414 (patch) | |
tree | a9d47f2fd060489be9b7e8688cd9223b3e1a3aa4 /src/libstore/build | |
parent | 8bd9ebf52c9f7c5381d071250660a48d133b5e87 (diff) |
Remove duplicate "error:"
Diffstat (limited to 'src/libstore/build')
-rw-r--r-- | src/libstore/build/derivation-goal.cc | 3 |
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) |