mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 15:02:42 +01:00
Move writeStructuredAttrsShell out of ParsedDerivation class
This commit is contained in:
parent
27ce722638
commit
6f206549ba
5 changed files with 13 additions and 9 deletions
|
|
@ -446,7 +446,7 @@ static void main_nix_build(int argc, char * * argv)
|
|||
|
||||
if (auto structAttrs = parsedDrv.prepareStructuredAttrs(std::nullopt, *store, inputs)) {
|
||||
auto json = structAttrs.value();
|
||||
structuredAttrsRC = parsedDrv.writeStructuredAttrsShell(json);
|
||||
structuredAttrsRC = writeStructuredAttrsShell(json);
|
||||
|
||||
auto attrsJSON = (Path) tmpDir + "/.attrs.json";
|
||||
writeFile(attrsJSON, json.dump());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue