1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 07:33:16 +02:00

Use upstream json_fwd.hpp to speed up compilation

This commit is contained in:
Eelco Dolstra 2019-10-21 22:11:21 +02:00
parent cb1a79a96a
commit 45b740c18b
6 changed files with 75 additions and 13 deletions

View file

@ -2521,7 +2521,7 @@ static std::regex shVarName("[A-Za-z_][A-Za-z0-9_]*");
void DerivationGoal::writeStructuredAttrs()
{
auto & structuredAttrs = parsedDrv->getStructuredAttrs();
auto structuredAttrs = parsedDrv->getStructuredAttrs();
if (!structuredAttrs) return;
auto json = *structuredAttrs;