mirror of
https://github.com/NixOS/nix
synced 2025-06-29 06:21:14 +02:00
Include the name in the JSON for derivations
This is non-breaking change in the to-JSON direction. This *is* a breaking change in the from-JSON direction, but we don't care, as that is brand new in this PR. `nix show-derivation --help` currently has the sole public documentation of this format, it is updated accordingly.
This commit is contained in:
parent
fe9cbe838c
commit
b200784cec
4 changed files with 11 additions and 4 deletions
|
@ -340,7 +340,6 @@ struct Derivation : BasicDerivation
|
|||
nlohmann::json toJSON(const Store & store) const;
|
||||
static Derivation fromJSON(
|
||||
const Store & store,
|
||||
std::string_view drvName,
|
||||
const nlohmann::json & json);
|
||||
|
||||
GENERATE_CMP(Derivation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue