diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-10-07 21:25:06 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-10-07 21:25:06 +0200 |
commit | f66bbd8c7bb1472facf8917e58e3cd4f6ddfa1b5 (patch) | |
tree | 713bf2317d68083d056c05a3438ceed25b6d8153 /src/libstore | |
parent | e705c2429445a4a05076fc067bb349bdd6752bd9 (diff) |
Doh
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 0585905e0..e1774237b 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -3810,7 +3810,7 @@ void DerivationGoal::runChild() throw Error("unsupported builtin function '%1%'", string(drv->builder, 8)); _exit(0); } catch (std::exception & e) { - writeFull(STDERR_FILENO, e.what() + "\n"); + writeFull(STDERR_FILENO, e.what() + std::string("\n")); _exit(1); } } |