aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/parsed-derivations.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-07-12 17:13:05 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-07-12 17:13:05 +0200
commite06c272c12bc5e401e4894b7ad875a88c5aa714b (patch)
treeca0a895a49caf77d1ac7ff914020906c2aed2867 /src/libstore/parsed-derivations.hh
parent91d2e8d5adf8d4ac941faef5cb3a020f07238db9 (diff)
parent04cd2da84c65b88b08c5e73141b37b991795e716 (diff)
Merge branch 'structured-attrs-shell' of https://github.com/Ma27/nix
Diffstat (limited to 'src/libstore/parsed-derivations.hh')
-rw-r--r--src/libstore/parsed-derivations.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/parsed-derivations.hh b/src/libstore/parsed-derivations.hh
index c9fbe68c4..5e3fb93ca 100644
--- a/src/libstore/parsed-derivations.hh
+++ b/src/libstore/parsed-derivations.hh
@@ -36,6 +36,10 @@ public:
bool willBuildLocally(Store & localStore) const;
bool substitutesAllowed() const;
+
+ std::optional<nlohmann::json> prepareStructuredAttrs(Store & store, const StorePathSet & inputPaths);
};
+std::string writeStructuredAttrsShell(nlohmann::json & json);
+
}