diff options
author | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2017-10-25 16:50:52 +0100 |
---|---|---|
committer | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2017-10-25 16:50:52 +0100 |
commit | 54a2cd9ce43b29382a5799635ea9aa28c245d3a4 (patch) | |
tree | e7a47020623dcfb09408238b42101c57e5af4003 | |
parent | 9f01a3f0a87679ac3ba2c71ab6d31478bcbef481 (diff) | |
parent | 9971d875a462bc393724220f468825eca9e5c38a (diff) |
Merge branch 'master' of github.com:NixOS/nix into sigint-copy
-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 {}; }; |