mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 20:51:00 +01:00
Split shell & json creation for build environments with structured attrs
This commit is contained in:
parent
447928bdb5
commit
f1e281c4fe
4 changed files with 20 additions and 13 deletions
|
|
@ -39,7 +39,8 @@ public:
|
|||
|
||||
bool substitutesAllowed() const;
|
||||
|
||||
std::optional<StructuredAttrsWithShellRC> generateStructuredAttrs(std::optional<StringMap> inputRewrites, Store & store, const StorePathSet & inputPaths);
|
||||
std::optional<nlohmann::json> prepareStructuredAttrs(std::optional<StringMap> inputRewrites, Store & store, const StorePathSet & inputPaths);
|
||||
std::string writeStructuredAttrsShell(nlohmann::json & json);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue