diff options
-rw-r--r-- | src/libstore/build.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 51afbac7f..9f8edc826 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2400,10 +2400,10 @@ void DerivationGoal::writeStructuredAttrs() } if (value.is_null()) - return "''"; + return std::string("''"); if (value.is_boolean()) - return value.get<bool>() ? "1" : ""; + return value.get<bool>() ? std::string("1") : std::string(""); return {}; }; |