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:
parent
cb1a79a96a
commit
45b740c18b
6 changed files with 75 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue