diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2021-06-22 20:37:25 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2021-06-22 21:14:20 +0200 |
commit | 6f206549ba02c6f9bdbf9707bba9193a1d82e822 (patch) | |
tree | f46e941dae74236c0303eef9fcd386e06dff4e17 /src/nix-build/nix-build.cc | |
parent | 27ce722638eeabb987bc9b4a1234c2818c5bf401 (diff) |
Move `writeStructuredAttrsShell` out of `ParsedDerivation` class
Diffstat (limited to 'src/nix-build/nix-build.cc')
-rwxr-xr-x | src/nix-build/nix-build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc index f67776083..459876465 100755 --- a/src/nix-build/nix-build.cc +++ b/src/nix-build/nix-build.cc @@ -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()); |