Merge branch 'master' of github.com:NixOS/nix into sigint-copy

This commit is contained in:
AmineChikhaoui 2017-10-25 16:50:52 +01:00
commit 54a2cd9ce4

View file

@ -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 {};
};