aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-10-07 21:25:06 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-10-07 21:25:06 +0200
commitf66bbd8c7bb1472facf8917e58e3cd4f6ddfa1b5 (patch)
tree713bf2317d68083d056c05a3438ceed25b6d8153 /src/libstore/build.cc
parente705c2429445a4a05076fc067bb349bdd6752bd9 (diff)
Doh
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc2
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);
}
}