aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/parsed-derivations.hh
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2021-06-22 20:37:25 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2021-06-22 21:14:20 +0200
commit6f206549ba02c6f9bdbf9707bba9193a1d82e822 (patch)
treef46e941dae74236c0303eef9fcd386e06dff4e17 /src/libstore/parsed-derivations.hh
parent27ce722638eeabb987bc9b4a1234c2818c5bf401 (diff)
Move `writeStructuredAttrsShell` out of `ParsedDerivation` class
Diffstat (limited to 'src/libstore/parsed-derivations.hh')
-rw-r--r--src/libstore/parsed-derivations.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/parsed-derivations.hh b/src/libstore/parsed-derivations.hh
index f02d5868e..8061e3a8b 100644
--- a/src/libstore/parsed-derivations.hh
+++ b/src/libstore/parsed-derivations.hh
@@ -38,7 +38,8 @@ public:
bool substitutesAllowed() const;
std::optional<nlohmann::json> prepareStructuredAttrs(std::optional<StringMap> inputRewrites, Store & store, const StorePathSet & inputPaths);
- std::string writeStructuredAttrsShell(nlohmann::json & json);
};
+std::string writeStructuredAttrsShell(nlohmann::json & json);
+
}