14 std::unique_ptr<JSON> structuredAttrs;
22 const JSON * getStructuredAttrs()
const
24 return structuredAttrs.get();
27 std::optional<std::string> getStringAttr(
const std::string & name)
const;
29 bool getBoolAttr(
const std::string & name,
bool def =
false)
const;
31 std::optional<Strings> getStringsAttr(
const std::string & name)
const;
33 StringSet getRequiredSystemFeatures()
const;
35 bool canBuildLocally(
Store & localStore)
const;
37 bool willBuildLocally(
Store & localStore)
const;
39 bool substitutesAllowed()
const;
41 bool useUidRange()
const;
43 kj::Promise<Result<std::optional<JSON>>>
44 prepareStructuredAttrs(
Store & store,
const StorePathSet & inputPaths);