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/libstore/build/local-derivation-goal.cc | |
parent | 27ce722638eeabb987bc9b4a1234c2818c5bf401 (diff) |
Move `writeStructuredAttrsShell` out of `ParsedDerivation` class
Diffstat (limited to 'src/libstore/build/local-derivation-goal.cc')
-rw-r--r-- | src/libstore/build/local-derivation-goal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc index de64737f4..15a7cb4ac 100644 --- a/src/libstore/build/local-derivation-goal.cc +++ b/src/libstore/build/local-derivation-goal.cc @@ -1088,7 +1088,7 @@ void LocalDerivationGoal::writeStructuredAttrs() { if (auto structAttrsJson = parsedDrv->prepareStructuredAttrs(inputRewrites, worker.store, inputPaths)) { auto json = structAttrsJson.value(); - auto jsonSh = parsedDrv->writeStructuredAttrsShell(json); + auto jsonSh = writeStructuredAttrsShell(json); writeFile(tmpDir + "/.attrs.sh", rewriteStrings(jsonSh, inputRewrites)); chownToBuilder(tmpDir + "/.attrs.sh"); |