1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-29 05:31:00 +01:00

Fix DerivationOptions JSON implementation and test

This commit is contained in:
John Ericson 2025-11-04 01:22:20 -05:00
parent 9daef9cca2
commit d05e85e5be
11 changed files with 326 additions and 18 deletions

View file

@ -1404,7 +1404,7 @@ void adl_serializer<Derivation>::to_json(json & res, const Derivation & d)
{
auto & inputsList = res["inputSrcs"];
inputsList = nlohmann::json ::array();
inputsList = nlohmann::json::array();
for (auto & input : d.inputSrcs)
inputsList.emplace_back(input);
}